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.001117/0.001117, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001388/0.001388, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.299/1.299, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1734/0.1734, allocations: 38.04 MB / 329.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 66.36 kB / 398.9 MB, free: 34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09825, allocations: 58.06 MB / 457 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008184/0.1065, allocations: 7.425 MB / 464.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.112, allocations: 4.436 MB / 468.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.1124, allocations: 12 kB / 468.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.1148, allocations: 1.043 MB / 469.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.1178, allocations: 1.273 MB / 471.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1189, allocations: 343 kB / 471.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1208, allocations: 1.406 MB / 472.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009779/0.1218, allocations: 0.8086 MB / 473.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.1225, allocations: 0.6342 MB / 474.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009174/0.1235, allocations: 0.7438 MB / 475.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.1236, allocations: 80 kB / 475.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.1262, allocations: 1.516 MB / 476.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004943/0.1267, allocations: 0.6001 MB / 477.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.1272, allocations: 0.5677 MB / 477.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.1294, allocations: 1.87 MB / 479.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1294, allocations: 0 / 479.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1294, allocations: 0 / 479.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.1295, allocations: 0 / 479.7 MB, free: 1.148 MB / 350.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.001893/0.1314, allocations: 1.33 MB / 481.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1314, allocations: 19.89 kB / 481.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.1316, allocations: 160.8 kB / 481.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.1355, allocations: 0.538 MB / 481.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.1364, allocations: 0.5559 MB / 482.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.1365, allocations: 66.36 kB / 482.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.1367, allocations: 84.38 kB / 482.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1387, allocations: 1.508 MB / 484 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.1388, allocations: 3.906 kB / 484 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.1389, allocations: 39.97 kB / 484 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.139, allocations: 98 kB / 484.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.1413, allocations: 1.55 MB / 485.7 MB, free: 11.05 MB / 366.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.007368/0.1487, allocations: 4.919 MB / 490.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.1505, allocations: 1.173 MB / 491.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.1515, allocations: 0.7685 MB / 492.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.1516, allocations: 21.06 kB / 492.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1516, allocations: 43.56 kB / 492.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/0.1516, allocations: 0 / 492.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007789/0.1594, allocations: 3.685 MB / 496.3 MB, free: 140 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1595, allocations: 90.11 kB / 496.4 MB, free: 32 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.1601, allocations: 477.9 kB / 496.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.1602, allocations: 37.7 kB / 496.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.1605, allocations: 427.4 kB / 497.3 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.1608, allocations: 370.5 kB / 497.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.1612, allocations: 202.8 kB / 497.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1614, allocations: 382.8 kB / 498.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.1622, allocations: 0.5335 MB / 498.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.1631, allocations: 0.7617 MB / 499.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.1651, allocations: 1.408 MB / 0.4892 GB, free: 11.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1651, allocations: 0 / 0.4892 GB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002933/0.1681, allocations: 1.794 MB / 0.4909 GB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1681, allocations: 8 kB / 0.4909 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.1681, allocations: 12 kB / 0.491 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.1692, allocations: 423.5 kB / 0.4914 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008645/0.1701, allocations: 235.6 kB / 0.4916 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007117/0.1772, allocations: 6.054 MB / 0.4975 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/0.1779, allocations: 71.98 kB / 0.4976 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.1781, allocations: 43.98 kB / 0.4976 GB, free: 2.32 MB / 382.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.0005557/0.1786, allocations: 365.3 kB / 0.4979 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.1788, allocations: 71.16 kB / 0.498 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.1819, allocations: 1.807 MB / 0.4998 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1819, allocations: 12 kB / 0.4998 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.1819, allocations: 15.88 kB / 0.4998 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.182, allocations: 7.969 kB / 0.4998 GB, free: 32 kB / 382.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.1944/0.3763, allocations: 3.455 MB / 0.5032 GB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3764, allocations: 7.406 kB / 0.5032 GB, free: 55.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.377, allocations: 184.8 kB / 0.5034 GB, free: 55.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008698/0.3779, allocations: 363.6 kB / 0.5037 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/0.378, allocations: 24.16 kB / 0.5037 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/0.3832, allocations: 5.791 MB / 0.5094 GB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3833, allocations: 3.906 kB / 0.5094 GB, free: 50.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.3857, allocations: 1.825 MB / 0.5112 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3859, allocations: 156.1 kB / 0.5113 GB, free: 50.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.386, allocations: 29.39 kB / 0.5114 GB, free: 50.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.3865, allocations: 58.33 kB / 0.5114 GB, free: 50.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3867, allocations: 92.81 kB / 0.5115 GB, free: 50.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.3867, allocations: 37.52 kB / 0.5115 GB, free: 50 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003332/0.3871, allocations: 324.4 kB / 0.5119 GB, free: 49.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3871, allocations: 0 / 0.5119 GB, free: 49.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001172/0.3883, allocations: 399.6 kB / 0.5122 GB, free: 49.81 MB / 382.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.002562/0.3908, allocations: 2.401 MB / 0.5146 GB, free: 48.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.394, allocations: 2.135 MB / 0.5167 GB, free: 47.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.394, allocations: 1.375 kB / 0.5167 GB, free: 47.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.3954, allocations: 1.082 MB / 0.5177 GB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.3961, allocations: 118.8 kB / 0.5178 GB, free: 47.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.4066, allocations: 9.266 MB / 0.5269 GB, free: 42.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.4073, allocations: 1.174 MB / 0.528 GB, free: 41.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.4078, allocations: 233.4 kB / 0.5283 GB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.4082, allocations: 345.1 kB / 0.5286 GB, free: 41.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4082, allocations: 0 / 0.5286 GB, free: 41.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05808/0.4663, allocations: 20.06 MB / 0.5482 GB, free: 21.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.412/9.878, allocations: 12.95 kB / 0.5482 GB, free: 21.58 MB / 382.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