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.001373/0.001374, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001306/0.001306, allocations: 192 kB / 18.63 MB, free: 4.508 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.595/1.595, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2069/0.2069, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001893, allocations: 69.41 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1874, allocations: 58.06 MB / 458.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.0121/0.1996, allocations: 7.55 MB / 465.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006993/0.2066, allocations: 4.167 MB / 470 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.2076, allocations: 15.94 kB / 470.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.2108, allocations: 1.038 MB / 471.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.2141, allocations: 1.086 MB / 472.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2153, allocations: 315.1 kB / 472.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.2178, allocations: 1.363 MB / 473.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.2189, allocations: 463.9 kB / 474.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.2203, allocations: 0.5522 MB / 474.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.2217, allocations: 0.5877 MB / 475.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.2219, allocations: 36 kB / 475.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.2243, allocations: 0.9895 MB / 476.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.225, allocations: 267.3 kB / 476.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.2256, allocations: 246.9 kB / 477 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.2279, allocations: 0.8102 MB / 477.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.2279, allocations: 4 kB / 477.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2279, allocations: 0 / 477.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.2279, allocations: 4 kB / 477.8 MB, free: 3.812 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.001985/0.2299, allocations: 0.7961 MB / 478.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.23, allocations: 8.031 kB / 478.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.232, allocations: 132.3 kB / 478.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.2328, allocations: 342.3 kB / 479.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.2329, allocations: 33.31 kB / 479.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.2329, allocations: 36.36 kB / 479.1 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/0.2338, allocations: 0.583 MB / 479.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.2339, allocations: 3.938 kB / 479.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.2339, allocations: 23.98 kB / 479.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.234, allocations: 36.62 kB / 479.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.2346, allocations: 386.1 kB / 480.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.2373, allocations: 2.592 MB / 482.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.2379, allocations: 431.8 kB / 483.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.2382, allocations: 206.6 kB / 483.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2383, allocations: 4 kB / 483.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2383, allocations: 38.5 kB / 483.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.2383, allocations: 0 / 483.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001748/0.2401, allocations: 0.7657 MB / 484.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.2402, allocations: 110.8 kB / 484.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.2405, allocations: 324.5 kB / 484.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.2406, allocations: 33.7 kB / 484.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2408, allocations: 247.8 kB / 484.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2409, allocations: 118.3 kB / 485 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.241, allocations: 74.14 kB / 485.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2412, allocations: 350.7 kB / 485.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2414, allocations: 132.8 kB / 485.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.2417, allocations: 279.4 kB / 485.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.2423, allocations: 452.2 kB / 486.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2423, allocations: 4 kB / 486.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008994/0.2432, allocations: 0.5618 MB / 486.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.2432, allocations: 8 kB / 486.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2432, allocations: 4 kB / 486.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.2436, allocations: 125.1 kB / 486.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2439, allocations: 83.84 kB / 487 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.2468, allocations: 2.553 MB / 489.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.247, allocations: 47.47 kB / 489.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.247, allocations: 16 kB / 489.6 MB, free: 7.242 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.2473, allocations: 205.7 kB / 489.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.2474, allocations: 39.53 kB / 489.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.2475, allocations: 43.95 kB / 489.9 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2475, allocations: 4 kB / 489.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.2475, allocations: 4 kB / 489.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2475, allocations: 7.922 kB / 489.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2489, allocations: 0.9462 MB / 490.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2489, allocations: 0 / 490.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.249, allocations: 35.97 kB / 490.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.2493, allocations: 112.7 kB / 491 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.2493, allocations: 16.05 kB / 491 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.2521, allocations: 2.553 MB / 493.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2521, allocations: 4 kB / 493.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.2528, allocations: 0.6343 MB / 494.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.253, allocations: 116.7 kB / 494.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.253, allocations: 11.94 kB / 494.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2532, allocations: 8 kB / 494.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.2533, allocations: 23.97 kB / 494.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2533, allocations: 8 kB / 494.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.2535, allocations: 223 kB / 494.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.2536, allocations: 0 / 494.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000693/0.2542, allocations: 163.6 kB / 494.8 MB, free: 1.824 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.2544, allocations: 103.2 kB / 494.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009312/0.2554, allocations: 0.5109 MB / 495.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2554, allocations: 320 / 495.4 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.2559, allocations: 350.1 kB / 495.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.2565, allocations: 62.34 kB / 495.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.258, allocations: 0.8177 MB / 496.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/0.2587, allocations: 0.8824 MB / 497.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.2589, allocations: 70.91 kB / 497.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.259, allocations: 19.44 kB / 497.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.259, allocations: 4 kB / 497.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of Templates: time 0.008706/0.2677, allocations: 3.753 MB / 0.4896 GB, free: 11.17 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (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 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches