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.001317/0.001317, allocations: 111.5 kB / 16.63 MB, free: 6.812 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.001586/0.001586, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.03 MB / 329.4 MB, free: 9.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 69.66 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 58.07 MB / 456.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008677/0.1195, allocations: 7.622 MB / 464.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005948/0.1255, allocations: 4.479 MB / 468.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.1261, allocations: 15.94 kB / 468.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.1286, allocations: 0.9869 MB / 469.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1315, allocations: 1.2 MB / 470.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.1325, allocations: 311.3 kB / 471.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1342, allocations: 1.406 MB / 472.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.1355, allocations: 0.8828 MB / 473.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.1366, allocations: 0.6381 MB / 474 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1377, allocations: 0.8256 MB / 474.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.1379, allocations: 76 kB / 474.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.1404, allocations: 1.524 MB / 476.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006281/0.1411, allocations: 0.6118 MB / 477 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008149/0.1419, allocations: 0.5638 MB / 477.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.1448, allocations: 1.967 MB / 479.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1448, allocations: 4 kB / 479.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1448, allocations: 0 / 479.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.139e-05/0.1448, allocations: 0 / 479.6 MB, free: 1.137 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.002296/0.1471, allocations: 1.334 MB / 480.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1472, allocations: 15.89 kB / 480.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.1474, allocations: 164.8 kB / 481.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.1513, allocations: 0.5341 MB / 481.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.1523, allocations: 0.552 MB / 482.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.265e-05/0.1524, allocations: 70.3 kB / 482.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.1526, allocations: 88.27 kB / 482.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.1552, allocations: 1.508 MB / 483.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.1553, allocations: 0 / 483.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.1554, allocations: 43.97 kB / 483.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.1555, allocations: 98 kB / 484 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.158, allocations: 1.55 MB / 485.5 MB, free: 11.04 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.007984/0.166, allocations: 4.923 MB / 490.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.1678, allocations: 1.173 MB / 491.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009893/0.1688, allocations: 0.7663 MB / 492.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.1689, allocations: 21.05 kB / 492.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1689, allocations: 43.56 kB / 492.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 4.879e-06/0.1689, allocations: 4 kB / 492.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007483/0.1764, allocations: 3.681 MB / 496.1 MB, free: 124 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.1765, allocations: 94.14 kB / 496.2 MB, free: 12 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.177, allocations: 473.7 kB / 496.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.1771, allocations: 41.7 kB / 496.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.1774, allocations: 427.4 kB / 497.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.1777, allocations: 370.6 kB / 497.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.178, allocations: 202.8 kB / 497.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1782, allocations: 382.8 kB / 498.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/0.179, allocations: 0.5374 MB / 498.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009136/0.1799, allocations: 0.7539 MB / 499.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.1818, allocations: 1.408 MB / 0.489 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1818, allocations: 0 / 0.489 GB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00291/0.1847, allocations: 1.805 MB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1848, allocations: 8.5 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1848, allocations: 4 kB / 0.4908 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.1858, allocations: 413.4 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.1867, allocations: 239.6 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/0.1934, allocations: 6.063 MB / 0.4974 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.1941, allocations: 59.94 kB / 0.4974 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.1942, allocations: 43.98 kB / 0.4975 GB, free: 2.301 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.0005144/0.1947, allocations: 365.4 kB / 0.4978 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.1949, allocations: 75.14 kB / 0.4979 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.1978, allocations: 1.807 MB / 0.4996 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.1978, allocations: 16 kB / 0.4997 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.1978, allocations: 11.88 kB / 0.4997 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1979, allocations: 7.969 kB / 0.4997 GB, free: 8 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.005486/0.2034, allocations: 3.462 MB / 0.5031 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.2034, allocations: 7.938 kB / 0.5031 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.2041, allocations: 192.2 kB / 0.5032 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009148/0.205, allocations: 361.2 kB / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/0.2051, allocations: 27.92 kB / 0.5036 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006208/0.2113, allocations: 5.796 MB / 0.5093 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.2113, allocations: 4 kB / 0.5093 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.2143, allocations: 1.831 MB / 0.5111 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.2146, allocations: 160.1 kB / 0.5112 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.2147, allocations: 24 kB / 0.5112 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.2153, allocations: 55.88 kB / 0.5113 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.2155, allocations: 96.81 kB / 0.5114 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.2156, allocations: 32 kB / 0.5114 GB, free: 3.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.216, allocations: 327.1 kB / 0.5117 GB, free: 3.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.216, allocations: 0 / 0.5117 GB, free: 3.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001257/0.2173, allocations: 399.9 kB / 0.5121 GB, free: 2.754 MB / 398.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.002977/0.2202, allocations: 2.391 MB / 0.5144 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.1845/0.4048, allocations: 2.122 MB / 0.5165 GB, free: 70.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4048, allocations: 0 / 0.5165 GB, free: 70.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.4061, allocations: 1.08 MB / 0.5176 GB, free: 70.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.4069, allocations: 127.6 kB / 0.5177 GB, free: 70.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.4185, allocations: 9.697 MB / 0.5272 GB, free: 65.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.4193, allocations: 1.173 MB / 0.5283 GB, free: 64.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005827/0.4199, allocations: 235.4 kB / 0.5285 GB, free: 64.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.4203, allocations: 345.3 kB / 0.5289 GB, free: 64.5 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4203, allocations: 1.281 kB / 0.5289 GB, free: 64.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.4609, allocations: 20.02 MB / 0.5484 GB, free: 52.71 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.4611, allocations: 229.1 kB / 0.5486 GB, free: 52.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.519, allocations: 0 / 0.5486 GB, free: 52.46 MB / 398.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