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.001532/0.001532, allocations: 113.8 kB / 17.06 MB, free: 5.973 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.001567/0.001567, allocations: 198.9 kB / 18 MB, free: 5.055 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3435, allocations: 58.05 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008956/0.3525, allocations: 7.686 MB / 0.5111 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006383/0.3589, allocations: 4.73 MB / 0.5157 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.3597, allocations: 18.25 kB / 0.5158 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.363, allocations: 1.089 MB / 0.5168 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.3674, allocations: 1.26 MB / 0.5181 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3688, allocations: 366.6 kB / 0.5184 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.3721, allocations: 1.46 MB / 0.5198 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.3737, allocations: 0.6697 MB / 0.5205 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.3756, allocations: 0.6516 MB / 0.5211 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.3772, allocations: 0.7037 MB / 0.5218 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.3775, allocations: 66.12 kB / 0.5219 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.3811, allocations: 1.428 MB / 0.5233 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.382, allocations: 498.3 kB / 0.5237 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.3833, allocations: 461.7 kB / 0.5242 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.3878, allocations: 1.533 MB / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3878, allocations: 1.031 kB / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3878, allocations: 0 / 0.5257 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.705e-05/0.3879, allocations: 0 / 0.5257 GB, free: 10.3 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.002986/0.3909, allocations: 1.167 MB / 0.5268 GB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.391, allocations: 10.06 kB / 0.5268 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000273/0.3912, allocations: 131.2 kB / 0.527 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.395, allocations: 413.6 kB / 0.5273 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.3963, allocations: 0.4929 MB / 0.5278 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.3964, allocations: 57.02 kB / 0.5279 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.3967, allocations: 76.55 kB / 0.528 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.3991, allocations: 1.231 MB / 0.5292 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.3992, allocations: 1.797 kB / 0.5292 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3993, allocations: 30.45 kB / 0.5292 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.3994, allocations: 83.16 kB / 0.5293 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.4018, allocations: 1.315 MB / 0.5306 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0078/0.4096, allocations: 3.669 MB / 0.5341 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.4118, allocations: 1.09 MB / 0.5352 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.4129, allocations: 0.6386 MB / 0.5358 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.413, allocations: 23.44 kB / 0.5358 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.4131, allocations: 43.19 kB / 0.5359 GB, free: 4.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 5.571e-06/0.4131, allocations: 1.219 kB / 0.5359 GB, free: 4.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.008425/0.4215, allocations: 3.15 MB / 0.539 GB, free: 2.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.4216, allocations: 87.45 kB / 0.5391 GB, free: 2.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.4222, allocations: 386 kB / 0.5394 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.4223, allocations: 37.48 kB / 0.5395 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.4226, allocations: 324.5 kB / 0.5398 GB, free: 2.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.423, allocations: 319.9 kB / 0.5401 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.4233, allocations: 156.8 kB / 0.5402 GB, free: 1.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4235, allocations: 371.8 kB / 0.5406 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000767/0.4243, allocations: 473 kB / 0.541 GB, free: 1.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/0.4252, allocations: 0.575 MB / 0.5416 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.4272, allocations: 1.108 MB / 0.5427 GB, free: 160 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4272, allocations: 1.062 kB / 0.5427 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002835/0.43, allocations: 1.495 MB / 0.5441 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4301, allocations: 4 kB / 0.5441 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4301, allocations: 7.938 kB / 0.5441 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/0.4311, allocations: 340.7 kB / 0.5445 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.4318, allocations: 179.7 kB / 0.5446 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.4374, allocations: 4.177 MB / 0.5487 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.4381, allocations: 47.94 kB / 0.5488 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4382, allocations: 39.92 kB / 0.5488 GB, free: 9.82 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.0005353/0.4387, allocations: 293.6 kB / 0.5491 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.4389, allocations: 63.39 kB / 0.5491 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.4419, allocations: 1.551 MB / 0.5507 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4419, allocations: 12 kB / 0.5507 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.442, allocations: 4 kB / 0.5507 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.442, allocations: 3.984 kB / 0.5507 GB, free: 7.875 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.005764/0.4477, allocations: 3.011 MB / 0.5536 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.4478, allocations: 4.438 kB / 0.5536 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.4484, allocations: 163.8 kB / 0.5538 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000874/0.4493, allocations: 284.5 kB / 0.554 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.4494, allocations: 31.97 kB / 0.5541 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.4547, allocations: 3.895 MB / 0.5579 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.4548, allocations: 7.938 kB / 0.5579 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.4574, allocations: 1.578 MB / 0.5594 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.4577, allocations: 144.3 kB / 0.5596 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.4578, allocations: 24 kB / 0.5596 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.4583, allocations: 39.95 kB / 0.5596 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.4585, allocations: 88.77 kB / 0.5597 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.4586, allocations: 32 kB / 0.5597 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003121/0.4589, allocations: 267.1 kB / 0.56 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4589, allocations: 0 / 0.56 GB, free: 13.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001111/0.46, allocations: 308 kB / 0.5603 GB, free: 13.66 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.002847/0.4629, allocations: 2.141 MB / 0.5624 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.4654, allocations: 1.41 MB / 0.5638 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.4654, allocations: 0 / 0.5638 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.4667, allocations: 0.8319 MB / 0.5646 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.4674, allocations: 115.1 kB / 0.5647 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.4791, allocations: 7.62 MB / 0.5721 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.4799, allocations: 1.083 MB / 0.5732 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.4804, allocations: 188.7 kB / 0.5734 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.4808, allocations: 271.3 kB / 0.5736 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4808, allocations: 4 kB / 0.5736 GB, free: 15.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.5234, allocations: 16.98 MB / 0.5902 GB, free: 14.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.8, allocations: 3.984 kB / 0.5902 GB, free: 14.77 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