Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001667/0.001667, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001848/0.001848, allocations: 200 kB / 18.01 MB, free: 5.047 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.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1807/0.1807, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 56.14 kB / 457.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3229, allocations: 58.06 MB / 0.5036 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006892/0.3298, allocations: 7.681 MB / 0.5111 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005944/0.3358, allocations: 4.742 MB / 0.5158 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.3363, allocations: 16.91 kB / 0.5158 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.3392, allocations: 1.075 MB / 0.5168 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003568/0.3428, allocations: 1.264 MB / 0.5181 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.344, allocations: 371.7 kB / 0.5184 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.3463, allocations: 1.461 MB / 0.5198 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.3474, allocations: 0.6593 MB / 0.5205 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.3486, allocations: 0.6399 MB / 0.5211 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.3496, allocations: 0.7068 MB / 0.5218 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3497, allocations: 66.28 kB / 0.5219 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.3525, allocations: 1.429 MB / 0.5233 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006158/0.3531, allocations: 0.4906 MB / 0.5237 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.3538, allocations: 456.4 kB / 0.5242 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.3566, allocations: 1.541 MB / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3566, allocations: 0 / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3566, allocations: 1.125 kB / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.3566, allocations: 0 / 0.5257 GB, free: 10.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002067/0.3587, allocations: 1.196 MB / 0.5268 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3587, allocations: 13.8 kB / 0.5269 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.3589, allocations: 135 kB / 0.527 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.3624, allocations: 413.9 kB / 0.5274 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.3633, allocations: 0.5019 MB / 0.5279 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.3634, allocations: 55.8 kB / 0.5279 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3636, allocations: 73.95 kB / 0.528 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.3656, allocations: 1.234 MB / 0.5292 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.3657, allocations: 5.109 kB / 0.5292 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/0.3658, allocations: 31.23 kB / 0.5292 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.3659, allocations: 79.83 kB / 0.5293 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3679, allocations: 1.313 MB / 0.5306 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.3738, allocations: 3.678 MB / 0.5342 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.3757, allocations: 1.087 MB / 0.5352 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/0.3766, allocations: 0.6387 MB / 0.5359 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.3767, allocations: 19.22 kB / 0.5359 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.3767, allocations: 48.22 kB / 0.5359 GB, free: 4.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.685e-06/0.3767, allocations: 0 / 0.5359 GB, free: 4.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.007233/0.384, allocations: 3.171 MB / 0.539 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.3841, allocations: 87.73 kB / 0.5391 GB, free: 2.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.3846, allocations: 377.5 kB / 0.5395 GB, free: 2.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.3846, allocations: 41.55 kB / 0.5395 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.3849, allocations: 328.9 kB / 0.5398 GB, free: 1.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.3852, allocations: 338 kB / 0.5401 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.3855, allocations: 157.4 kB / 0.5403 GB, free: 1.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3857, allocations: 374.4 kB / 0.5407 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006773/0.3864, allocations: 465.9 kB / 0.5411 GB, free: 0.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/0.3871, allocations: 0.5816 MB / 0.5417 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3888, allocations: 1.121 MB / 0.5428 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3888, allocations: 0 / 0.5428 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00266/0.3914, allocations: 1.483 MB / 0.5442 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.3915, allocations: 4 kB / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3915, allocations: 7.984 kB / 0.5442 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/0.3925, allocations: 340.7 kB / 0.5445 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.3932, allocations: 183.7 kB / 0.5447 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005685/0.3989, allocations: 4.175 MB / 0.5488 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.3996, allocations: 47.95 kB / 0.5488 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.3997, allocations: 35.92 kB / 0.5489 GB, free: 9.738 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005751/0.4003, allocations: 309.6 kB / 0.5492 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4004, allocations: 59.62 kB / 0.5492 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.4033, allocations: 1.547 MB / 0.5507 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4033, allocations: 12 kB / 0.5508 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4033, allocations: 8 kB / 0.5508 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4034, allocations: 7.969 kB / 0.5508 GB, free: 7.781 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/0.4086, allocations: 3.012 MB / 0.5537 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.4086, allocations: 4 kB / 0.5537 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.4093, allocations: 167.7 kB / 0.5539 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008318/0.4101, allocations: 280.7 kB / 0.5541 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.4102, allocations: 27.98 kB / 0.5542 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.4155, allocations: 3.906 MB / 0.558 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.4155, allocations: 7.938 kB / 0.558 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.4181, allocations: 1.579 MB / 0.5595 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.4183, allocations: 148.7 kB / 0.5597 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.4184, allocations: 20 kB / 0.5597 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.4188, allocations: 35.97 kB / 0.5597 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.419, allocations: 92.7 kB / 0.5598 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.4191, allocations: 39.98 kB / 0.5599 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.4194, allocations: 263.1 kB / 0.5601 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4194, allocations: 4 kB / 0.5601 GB, free: 13.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001051/0.4205, allocations: 308 kB / 0.5604 GB, free: 13.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002871/0.4234, allocations: 2.149 MB / 0.5625 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.4258, allocations: 1.398 MB / 0.5639 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.4258, allocations: 0 / 0.5639 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.4271, allocations: 0.8403 MB / 0.5647 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.4279, allocations: 109.5 kB / 0.5648 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.4393, allocations: 7.655 MB / 0.5723 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008703/0.4402, allocations: 1.091 MB / 0.5733 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004934/0.4407, allocations: 180.7 kB / 0.5735 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.4412, allocations: 267.3 kB / 0.5738 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4412, allocations: 0 / 0.5738 GB, free: 15.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.4877, allocations: 16.7 MB / 0.5901 GB, free: 14.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.71, allocations: 12.89 kB / 0.5901 GB, free: 14.91 MB / 462.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches