Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.5 kB / 17.06 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 199.9 kB / 18 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1835/0.1835, allocations: 38.03 MB / 329.9 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 457.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4239, allocations: 58.05 MB / 0.5036 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006326/0.4303, allocations: 4.514 MB / 0.508 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.4327, allocations: 1.402 MB / 0.5094 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.433, allocations: 16.94 kB / 0.5094 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.4341, allocations: 287.1 kB / 0.5097 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.4347, allocations: 288 kB / 0.51 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.4355, allocations: 253 kB / 0.5102 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000808/0.4363, allocations: 0.6688 MB / 0.5109 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.4368, allocations: 247.6 kB / 0.5111 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.4372, allocations: 306.2 kB / 0.5114 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.4379, allocations: 411.6 kB / 0.5118 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.438, allocations: 45.09 kB / 0.5118 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.4384, allocations: 218.8 kB / 0.512 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.4387, allocations: 249.2 kB / 0.5123 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.439, allocations: 288.1 kB / 0.5125 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.4399, allocations: 0.7553 MB / 0.5133 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4399, allocations: 0 / 0.5133 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4399, allocations: 4 kB / 0.5133 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.44, allocations: 0.875 kB / 0.5133 GB, free: 1.695 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00149/0.4415, allocations: 0.8761 MB / 0.5141 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4415, allocations: 8.844 kB / 0.5141 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.4416, allocations: 96.8 kB / 0.5142 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/0.4422, allocations: 97.64 kB / 0.5143 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.443, allocations: 437.2 kB / 0.5147 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.443, allocations: 30.44 kB / 0.5148 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.4431, allocations: 50.75 kB / 0.5148 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.4445, allocations: 0.8587 MB / 0.5157 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.4445, allocations: 4.75 kB / 0.5157 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.4446, allocations: 21.78 kB / 0.5157 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.4448, allocations: 58.59 kB / 0.5157 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.4463, allocations: 0.7956 MB / 0.5165 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.4505, allocations: 2.718 MB / 0.5192 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/0.4515, allocations: 0.5799 MB / 0.5197 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.4521, allocations: 452.5 kB / 0.5202 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.4521, allocations: 9.5 kB / 0.5202 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4521, allocations: 42.06 kB / 0.5202 GB, free: 13.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 1.904e-06/0.4522, allocations: 0 / 0.5202 GB, free: 13.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.003149/0.4553, allocations: 1.876 MB / 0.5221 GB, free: 12.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4554, allocations: 140.2 kB / 0.5222 GB, free: 12.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.4558, allocations: 301.5 kB / 0.5225 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.4558, allocations: 32.89 kB / 0.5225 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.456, allocations: 263 kB / 0.5228 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.4562, allocations: 182.9 kB / 0.5229 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.4564, allocations: 102.2 kB / 0.523 GB, free: 12.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4566, allocations: 351.3 kB / 0.5234 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.4571, allocations: 344.3 kB / 0.5237 GB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.4577, allocations: 494.8 kB / 0.5242 GB, free: 11.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.4589, allocations: 0.9848 MB / 0.5251 GB, free: 10.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.459, allocations: 1.5 kB / 0.5251 GB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001517/0.4605, allocations: 0.985 MB / 0.5261 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.4606, allocations: 75.17 kB / 0.5262 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4606, allocations: 4.906 kB / 0.5262 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.4608, allocations: 38.5 kB / 0.5262 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.4612, allocations: 85.2 kB / 0.5263 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.4626, allocations: 1.557 MB / 0.5278 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.463, allocations: 29.95 kB / 0.5278 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/0.4631, allocations: 34.34 kB / 0.5279 GB, free: 8.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.4635, allocations: 302.5 kB / 0.5282 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.4636, allocations: 42.09 kB / 0.5282 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.4653, allocations: 1.077 MB / 0.5292 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.4654, allocations: 11.42 kB / 0.5293 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4654, allocations: 1.531 kB / 0.5293 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.4654, allocations: 1.359 kB / 0.5293 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.4685, allocations: 1.802 MB / 0.531 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4685, allocations: 1.438 kB / 0.531 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.4688, allocations: 54.58 kB / 0.5311 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.4689, allocations: 37.28 kB / 0.5311 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.4689, allocations: 12.44 kB / 0.5311 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.4703, allocations: 1.555 MB / 0.5326 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4703, allocations: 4.969 kB / 0.5326 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.4722, allocations: 1.173 MB / 0.5338 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.4725, allocations: 175.6 kB / 0.534 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.4726, allocations: 19.72 kB / 0.534 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.4729, allocations: 25.53 kB / 0.534 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.473, allocations: 44.59 kB / 0.534 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.4731, allocations: 17.38 kB / 0.5341 GB, free: 5.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.4733, allocations: 203.9 kB / 0.5343 GB, free: 5.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.4733, allocations: 0 / 0.5343 GB, free: 5.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000674/0.474, allocations: 144.1 kB / 0.5344 GB, free: 5.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/0.4761, allocations: 1.776 MB / 0.5361 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4779, allocations: 1.375 MB / 0.5375 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4779, allocations: 0 / 0.5375 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.4791, allocations: 0.9267 MB / 0.5384 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.4797, allocations: 71.47 kB / 0.5384 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/0.4887, allocations: 5.867 MB / 0.5442 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.4894, allocations: 0.9093 MB / 0.5451 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.4897, allocations: 99.19 kB / 0.5452 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.49, allocations: 159.4 kB / 0.5453 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.49, allocations: 0 / 0.5453 GB, free: 12.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.5266, allocations: 10.44 MB / 0.5555 GB, free: 2.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.925/10.45, allocations: 4 kB / 0.5555 GB, free: 2.418 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches