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.0008728/0.0008729, allocations: 97.36 kB / 16.3 MB, free: 5.992 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.0009604/0.0009605, allocations: 181.3 kB / 17.2 MB, free: 5.906 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.285/1.285, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2884/0.2884, allocations: 38.07 MB / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 12 kB / 400 MB, free: 9.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.248, allocations: 59.15 MB / 459.1 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005535/0.2536, allocations: 6.605 MB / 465.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2578, allocations: 3.784 MB / 469.5 MB, free: 23.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.2581, allocations: 15.06 kB / 469.5 MB, free: 23.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.2585, allocations: 147.8 kB / 469.7 MB, free: 22.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.2598, allocations: 0.5439 MB / 470.2 MB, free: 22.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.2604, allocations: 229.8 kB / 470.4 MB, free: 22.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.2611, allocations: 0.5508 MB / 471 MB, free: 22.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.2615, allocations: 327.1 kB / 471.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.262, allocations: 355.2 kB / 471.7 MB, free: 21.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.2624, allocations: 284.7 kB / 471.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.2624, allocations: 23.59 kB / 472 MB, free: 21.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000973/0.2634, allocations: 443.8 kB / 472.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.2636, allocations: 225.7 kB / 472.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.2638, allocations: 104.9 kB / 472.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.2644, allocations: 0.5799 MB / 473.3 MB, free: 21.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2644, allocations: 4 kB / 473.3 MB, free: 21.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2644, allocations: 0.7031 kB / 473.3 MB, free: 21.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2645, allocations: 0 / 473.3 MB, free: 21.3 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.0008148/0.2653, allocations: 0.7214 MB / 474 MB, free: 20.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2653, allocations: 9.578 kB / 474 MB, free: 20.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.2668, allocations: 136.1 kB / 474.2 MB, free: 20.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.2672, allocations: 324.9 kB / 474.5 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.2672, allocations: 29.2 kB / 474.5 MB, free: 20.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.2673, allocations: 50.88 kB / 474.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.2679, allocations: 0.5646 MB / 475.1 MB, free: 20.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.268, allocations: 2.984 kB / 475.1 MB, free: 20.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.268, allocations: 22.52 kB / 475.1 MB, free: 20.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.2681, allocations: 40.28 kB / 475.2 MB, free: 20 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.2686, allocations: 376.7 kB / 475.6 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2705, allocations: 2.605 MB / 478.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.271, allocations: 437.8 kB / 478.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.271, allocations: 2.75 kB / 478.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.271, allocations: 45.23 kB / 478.6 MB, free: 17.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.2711, allocations: 0 / 478.6 MB, free: 17.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001417/0.2725, allocations: 0.7438 MB / 479.4 MB, free: 16.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2725, allocations: 122.8 kB / 479.5 MB, free: 16.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.2728, allocations: 316.2 kB / 479.8 MB, free: 16.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2728, allocations: 31.2 kB / 479.8 MB, free: 16.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.2729, allocations: 251.6 kB / 480.1 MB, free: 16.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.273, allocations: 119.6 kB / 480.2 MB, free: 16.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.273, allocations: 9.406 kB / 480.2 MB, free: 16.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.2731, allocations: 352.7 kB / 480.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.2732, allocations: 121.7 kB / 480.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2734, allocations: 281 kB / 480.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.2737, allocations: 181.2 kB / 481.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2737, allocations: 1.75 kB / 481.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007036/0.2744, allocations: 0.5523 MB / 481.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2744, allocations: 19.03 kB / 481.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2744, allocations: 4.844 kB / 481.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.2747, allocations: 114.5 kB / 481.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2749, allocations: 70 kB / 481.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.2768, allocations: 2.384 MB / 484.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2771, allocations: 44.55 kB / 484.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.2771, allocations: 18.97 kB / 484.3 MB, free: 13.06 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.0001627/0.2773, allocations: 198.5 kB / 484.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.2773, allocations: 41.72 kB / 484.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.2774, allocations: 50.27 kB / 484.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2774, allocations: 3.281 kB / 484.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2774, allocations: 7.312 kB / 484.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2774, allocations: 5.078 kB / 484.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009962/0.2784, allocations: 0.9352 MB / 485.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2784, allocations: 5.109 kB / 485.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.2786, allocations: 39.33 kB / 485.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.2788, allocations: 104.4 kB / 485.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.2788, allocations: 6.594 kB / 485.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.2806, allocations: 2.37 MB / 488.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2806, allocations: 1.031 kB / 488.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.2811, allocations: 0.6709 MB / 488.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.2812, allocations: 120.6 kB / 488.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.2813, allocations: 8 kB / 488.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.2814, allocations: 4 kB / 488.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2815, allocations: 31.86 kB / 488.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2815, allocations: 12 kB / 488.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.2816, allocations: 219 kB / 489.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2816, allocations: 0 / 489.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.2822, allocations: 163.7 kB / 489.3 MB, free: 8.918 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 7.342e-05/0.2823, allocations: 107.2 kB / 489.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005747/0.2829, allocations: 0.5072 MB / 489.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2829, allocations: 0 / 489.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.2832, allocations: 347 kB / 490.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2836, allocations: 52.08 kB / 490.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.2844, allocations: 0.9564 MB / 491.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2846, allocations: 0.8941 MB / 492.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.2848, allocations: 74.89 kB / 492.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.2848, allocations: 23.44 kB / 492.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2848, allocations: 0 / 492.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Templates: time 0.005176/0.29, allocations: 3.365 MB / 495.6 MB, free: 2.516 MB / 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