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: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 89.22 kB / 16.31 MB, free: 5.676 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.001119/0.001119, allocations: 185.5 kB / 17.21 MB, free: 5.594 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.202/1.202, allocations: 223.3 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1563/0.1563, allocations: 38.09 MB / 330.4 MB, free: 8.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 8 kB / 400.1 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08932, allocations: 59.16 MB / 459.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006891/0.09624, allocations: 7.185 MB / 466.4 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005306/0.1016, allocations: 4.501 MB / 470.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.1021, allocations: 15.94 kB / 470.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1025, allocations: 154.9 kB / 471.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.1046, allocations: 0.9417 MB / 472 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.1053, allocations: 271.3 kB / 472.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.1073, allocations: 1.995 MB / 474.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.1092, allocations: 1.147 MB / 475.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008756/0.1101, allocations: 0.5016 MB / 475.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009664/0.1111, allocations: 0.6814 MB / 476.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.1112, allocations: 36 kB / 476.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1127, allocations: 0.7869 MB / 477.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.1132, allocations: 458.9 kB / 477.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.1134, allocations: 177.3 kB / 478.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.1148, allocations: 1.091 MB / 479.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1148, allocations: 4 kB / 479.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1148, allocations: 0 / 479.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.69e-05/0.1149, allocations: 0 / 479.2 MB, free: 3.41 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001456/0.1163, allocations: 1.022 MB / 480.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1164, allocations: 12.03 kB / 480.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.1194, allocations: 422.3 kB / 480.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.1201, allocations: 482.2 kB / 481.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.1202, allocations: 57.98 kB / 481.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.1203, allocations: 75.92 kB / 481.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.1221, allocations: 1.222 MB / 482.4 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1222, allocations: 0 / 482.4 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.1222, allocations: 32.06 kB / 482.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-05/0.1223, allocations: 81.94 kB / 482.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.1241, allocations: 1.3 MB / 483.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.129, allocations: 3.727 MB / 487.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.1307, allocations: 1.085 MB / 488.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/0.1315, allocations: 0.6396 MB / 489.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.1316, allocations: 17.14 kB / 489.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1316, allocations: 43.56 kB / 489.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.364e-06/0.1316, allocations: 0 / 489.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.005897/0.1375, allocations: 3.118 MB / 492.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1376, allocations: 90.23 kB / 492.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.1379, allocations: 377.6 kB / 492.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.138, allocations: 41.7 kB / 493 MB, free: 5.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1382, allocations: 324 kB / 493.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.1384, allocations: 323.3 kB / 493.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1385, allocations: 16 kB / 493.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1386, allocations: 366.8 kB / 494 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.1392, allocations: 461.7 kB / 494.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.1399, allocations: 0.5743 MB / 495 MB, free: 3.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.1407, allocations: 0.5418 MB / 495.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1407, allocations: 0 / 495.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002262/0.1429, allocations: 1.465 MB / 497 MB, free: 1.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.143, allocations: 7.953 kB / 497 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.143, allocations: 8.156 kB / 497 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.1438, allocations: 332.6 kB / 497.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.1444, allocations: 187.7 kB / 497.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.1491, allocations: 3.882 MB / 0.4897 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.1495, allocations: 47.95 kB / 0.4897 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.1496, allocations: 31.98 kB / 0.4897 GB, free: 12.53 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.15, allocations: 301.6 kB / 0.49 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.1501, allocations: 55.34 kB / 0.4901 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.1525, allocations: 1.547 MB / 0.4916 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.1525, allocations: 8 kB / 0.4916 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1526, allocations: 11.95 kB / 0.4916 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1526, allocations: 7.984 kB / 0.4916 GB, free: 10.58 MB / 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.004391/0.157, allocations: 3.006 MB / 0.4945 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.157, allocations: 4 kB / 0.4946 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.1576, allocations: 171.7 kB / 0.4947 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006831/0.1583, allocations: 277.5 kB / 0.495 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.1584, allocations: 31.92 kB / 0.495 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.1627, allocations: 3.591 MB / 0.4985 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.1627, allocations: 4 kB / 0.4985 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.1649, allocations: 1.573 MB / 0.5001 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.165, allocations: 148.3 kB / 0.5002 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.1651, allocations: 23.98 kB / 0.5002 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.1655, allocations: 35.97 kB / 0.5003 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1656, allocations: 88.78 kB / 0.5003 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.1657, allocations: 39.98 kB / 0.5004 GB, free: 1.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.166, allocations: 259.1 kB / 0.5006 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.166, allocations: 0 / 0.5006 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008495/0.1668, allocations: 312 kB / 0.5009 GB, free: 0.6836 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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.167, allocations: 123.1 kB / 0.501 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1566/0.3236, allocations: 1.375 MB / 0.5024 GB, free: 56.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3237, allocations: 1.328 kB / 0.5024 GB, free: 56.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3249, allocations: 0.8335 MB / 0.5032 GB, free: 56.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.3257, allocations: 103.3 kB / 0.5033 GB, free: 56.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3281, allocations: 2.124 MB / 0.5054 GB, free: 55.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.3286, allocations: 1.083 MB / 0.5064 GB, free: 54.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.3291, allocations: 183.8 kB / 0.5066 GB, free: 54.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3293, allocations: 65.42 kB / 0.5067 GB, free: 54.96 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3293, allocations: 0 / 0.5067 GB, free: 54.96 MB / 382.1 MB Notification: Performance of Templates: time 0.0136/0.3429, allocations: 9.082 MB / 0.5155 GB, free: 53.13 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile Environment - environmentSimulation: (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches