Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001272/0.001272, allocations: 107.9 kB / 17.06 MB, free: 6.008 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.001215/0.001215, allocations: 189.4 kB / 18 MB, free: 5.09 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.456/1.456, 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.1839/0.1839, allocations: 38.03 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.83 kB / 457.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 58.04 MB / 0.5036 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007271/0.3357, allocations: 7.434 MB / 0.5109 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.3418, allocations: 4.436 MB / 0.5152 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005977/0.3424, allocations: 16.38 kB / 0.5152 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.3453, allocations: 1.036 MB / 0.5163 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.3493, allocations: 1.272 MB / 0.5175 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3505, allocations: 344.2 kB / 0.5178 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.3528, allocations: 1.401 MB / 0.5192 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3541, allocations: 0.806 MB / 0.52 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.3554, allocations: 0.6391 MB / 0.5206 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.3564, allocations: 0.735 MB / 0.5213 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.3566, allocations: 79.19 kB / 0.5214 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.3597, allocations: 1.526 MB / 0.5229 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007398/0.3605, allocations: 0.5969 MB / 0.5235 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.3612, allocations: 0.5712 MB / 0.524 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.3655, allocations: 1.89 MB / 0.5259 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3655, allocations: 0 / 0.5259 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3655, allocations: 0 / 0.5259 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.3655, allocations: 0 / 0.5259 GB, free: 10.49 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00285/0.3684, allocations: 1.361 MB / 0.5272 GB, free: 9.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3684, allocations: 17.11 kB / 0.5272 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.3687, allocations: 157.3 kB / 0.5274 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/0.3729, allocations: 0.5433 MB / 0.5279 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3742, allocations: 0.5674 MB / 0.5285 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.3743, allocations: 68.55 kB / 0.5285 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3745, allocations: 89.48 kB / 0.5286 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.3771, allocations: 1.509 MB / 0.5301 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.3772, allocations: 1.562 kB / 0.5301 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.3773, allocations: 35.55 kB / 0.5301 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.3774, allocations: 102.4 kB / 0.5302 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.3799, allocations: 1.545 MB / 0.5317 GB, free: 7.359 MB / 398.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 preOpt removeSimpleEquations (simulation): time 0.008112/0.3881, allocations: 4.9 MB / 0.5365 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.39, allocations: 1.183 MB / 0.5377 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.3911, allocations: 0.7684 MB / 0.5384 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.3912, allocations: 25.08 kB / 0.5384 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.3913, allocations: 44.62 kB / 0.5385 GB, free: 2.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.116e-06/0.3913, allocations: 0 / 0.5385 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.008154/0.3995, allocations: 3.699 MB / 0.5421 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.3996, allocations: 88.8 kB / 0.5422 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006013/0.4002, allocations: 475.8 kB / 0.5426 GB, free: 312 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/0.4003, allocations: 45.7 kB / 0.5427 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.4006, allocations: 440.8 kB / 0.5431 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.401, allocations: 388.6 kB / 0.5435 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.4014, allocations: 198.9 kB / 0.5437 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.4016, allocations: 382.8 kB / 0.544 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008704/0.4025, allocations: 0.5374 MB / 0.5445 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.4036, allocations: 0.7539 MB / 0.5453 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.4056, allocations: 1.396 MB / 0.5466 GB, free: 12.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.4056, allocations: 4 kB / 0.5466 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003256/0.4089, allocations: 1.814 MB / 0.5484 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4089, allocations: 8 kB / 0.5484 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.409, allocations: 4 kB / 0.5484 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.4101, allocations: 413.5 kB / 0.5488 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/0.4111, allocations: 235.6 kB / 0.549 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/0.4188, allocations: 6.066 MB / 0.555 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/0.4198, allocations: 71.92 kB / 0.555 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4199, allocations: 43.98 kB / 0.5551 GB, free: 3.043 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006732/0.4206, allocations: 369.4 kB / 0.5554 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4208, allocations: 79.47 kB / 0.5555 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.4241, allocations: 1.803 MB / 0.5573 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.4241, allocations: 15.94 kB / 0.5573 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4242, allocations: 8 kB / 0.5573 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.4242, allocations: 7.969 kB / 0.5573 GB, free: 0.7461 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.006293/0.4305, allocations: 3.462 MB / 0.5607 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.4305, allocations: 8.031 kB / 0.5607 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007856/0.4313, allocations: 191.7 kB / 0.5609 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.4323, allocations: 353.3 kB / 0.5612 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.4324, allocations: 28 kB / 0.5612 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007313/0.4397, allocations: 5.785 MB / 0.5669 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.4398, allocations: 11.88 kB / 0.5669 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.4431, allocations: 1.833 MB / 0.5687 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.4434, allocations: 164.5 kB / 0.5688 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.4435, allocations: 31.98 kB / 0.5689 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.4441, allocations: 55.83 kB / 0.5689 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.4443, allocations: 88.81 kB / 0.569 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.4444, allocations: 36 kB / 0.569 GB, free: 4.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000429/0.4448, allocations: 331 kB / 0.5694 GB, free: 3.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4448, allocations: 0 / 0.5694 GB, free: 3.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001335/0.4462, allocations: 404 kB / 0.5697 GB, free: 3.48 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.003422/0.4496, allocations: 2.384 MB / 0.5721 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.4526, allocations: 1.763 MB / 0.5738 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4526, allocations: 4 kB / 0.5738 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.4543, allocations: 1.077 MB / 0.5748 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.4553, allocations: 126.9 kB / 0.575 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.4695, allocations: 9.153 MB / 0.5839 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.4706, allocations: 1.174 MB / 0.5851 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006173/0.4712, allocations: 237.4 kB / 0.5853 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.4718, allocations: 343.3 kB / 0.5856 GB, free: 2.711 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4718, allocations: 0 / 0.5856 GB, free: 2.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/0.5272, allocations: 20.47 MB / 0.6056 GB, free: 14.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.34, allocations: 8.062 kB / 0.6056 GB, free: 14.37 MB / 478.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches