Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008763, allocations: 87.44 kB / 16.31 MB, free: 6.457 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.00122/0.00122, allocations: 180.6 kB / 17.21 MB, free: 6.328 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.195/1.195, allocations: 223.3 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2576/0.2576, allocations: 38.08 MB / 330.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8 kB / 400.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 59.16 MB / 459.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005713/0.2343, allocations: 6.89 MB / 466.1 MB, free: 25.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.2382, allocations: 3.904 MB / 470 MB, free: 22.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.2384, allocations: 16.31 kB / 470 MB, free: 22.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.2387, allocations: 137.1 kB / 470.2 MB, free: 22.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.24, allocations: 0.797 MB / 471 MB, free: 22.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2405, allocations: 225.3 kB / 471.2 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.2423, allocations: 1.873 MB / 473.1 MB, free: 21.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.2427, allocations: 318 kB / 473.4 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.2432, allocations: 471.1 kB / 473.8 MB, free: 21.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006328/0.2439, allocations: 0.5653 MB / 474.4 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.2439, allocations: 20.62 kB / 474.4 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.2448, allocations: 471.5 kB / 474.9 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.2451, allocations: 256.9 kB / 475.1 MB, free: 20.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2452, allocations: 108.6 kB / 475.2 MB, free: 20.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.2458, allocations: 0.583 MB / 475.8 MB, free: 20.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2458, allocations: 4 kB / 475.8 MB, free: 20.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2458, allocations: 0 / 475.8 MB, free: 20.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2458, allocations: 0 / 475.8 MB, free: 20.33 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00075/0.2466, allocations: 0.7175 MB / 476.6 MB, free: 19.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.2466, allocations: 13.56 kB / 476.6 MB, free: 19.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.248, allocations: 136.2 kB / 476.7 MB, free: 19.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2483, allocations: 316.4 kB / 477 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2483, allocations: 33.17 kB / 477 MB, free: 19.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.2484, allocations: 45.94 kB / 477.1 MB, free: 19.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.249, allocations: 0.5723 MB / 477.7 MB, free: 18.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.249, allocations: 5.188 kB / 477.7 MB, free: 18.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.2491, allocations: 16.8 kB / 477.7 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.2491, allocations: 42 kB / 477.7 MB, free: 18.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.2496, allocations: 381.5 kB / 478.1 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.2513, allocations: 2.595 MB / 480.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.2519, allocations: 440.8 kB / 481.1 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.2521, allocations: 209.4 kB / 481.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2521, allocations: 3.969 kB / 481.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2521, allocations: 34.56 kB / 481.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2521, allocations: 7.938 kB / 481.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001379/0.2535, allocations: 0.7533 MB / 482.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.2536, allocations: 111.2 kB / 482.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.2538, allocations: 321 kB / 482.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2538, allocations: 30.8 kB / 482.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.2539, allocations: 252.2 kB / 482.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.254, allocations: 121.8 kB / 482.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.254, allocations: 10.59 kB / 482.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.2541, allocations: 348.3 kB / 483.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.2543, allocations: 121.4 kB / 483.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2545, allocations: 276.4 kB / 483.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.2547, allocations: 188.9 kB / 483.9 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2547, allocations: 2.25 kB / 483.9 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007122/0.2554, allocations: 0.548 MB / 484.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2555, allocations: 10.25 kB / 484.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2555, allocations: 8.797 kB / 484.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.2558, allocations: 122.1 kB / 484.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.256, allocations: 74.41 kB / 484.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.2579, allocations: 2.334 MB / 487 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2581, allocations: 53.83 kB / 487 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2581, allocations: 24.03 kB / 487 MB, free: 11.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.2583, allocations: 197.6 kB / 487.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.2584, allocations: 35.53 kB / 487.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.2584, allocations: 55.94 kB / 487.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2585, allocations: 4 kB / 487.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2585, allocations: 4 kB / 487.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2585, allocations: 0 / 487.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.2594, allocations: 0.9454 MB / 488.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2594, allocations: 4 kB / 488.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.2595, allocations: 27.98 kB / 488.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.2597, allocations: 119.9 kB / 488.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2597, allocations: 8 kB / 488.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.2613, allocations: 2.326 MB / 490.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2614, allocations: 4.062 kB / 490.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.2619, allocations: 0.6188 MB / 491.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.262, allocations: 120.6 kB / 491.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.262, allocations: 7.953 kB / 491.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2622, allocations: 8 kB / 491.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2622, allocations: 23.97 kB / 491.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2622, allocations: 8 kB / 491.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.2624, allocations: 219 kB / 491.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2624, allocations: 4 kB / 491.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005784/0.263, allocations: 167.7 kB / 491.9 MB, free: 6.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.866e-05/0.2631, allocations: 107.2 kB / 492 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.2637, allocations: 0.5033 MB / 492.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2638, allocations: 0 / 492.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.2641, allocations: 342.3 kB / 492.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.2646, allocations: 64.81 kB / 492.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2657, allocations: 0.9559 MB / 493.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.266, allocations: 0.8863 MB / 494.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.2662, allocations: 70.89 kB / 494.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.2662, allocations: 23.44 kB / 494.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2662, allocations: 0 / 494.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of Templates: time 0.005222/0.2714, allocations: 3.367 MB / 498.2 MB, free: 0 / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches