Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 180.2 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009317/0.0009318, allocations: 99.02 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1739/0.1739, allocations: 37.98 MB / 347.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.633e-06, allocations: 0 / 410 MB, free: 46.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 56.31 MB / 466.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2901/0.3926, allocations: 101.3 MB / 0.5543 GB, free: 9.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.3929, allocations: 87.94 kB / 0.5544 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04145/0.4343, allocations: 14.18 MB / 0.5682 GB, free: 10.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.4344, allocations: 12 kB / 0.5682 GB, free: 10.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001126/0.4355, allocations: 0.6605 MB / 0.5689 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4356, allocations: 8.031 kB / 0.5689 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.4362, allocations: 99.25 kB / 0.569 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.4384, allocations: 0.857 MB / 0.5698 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.4385, allocations: 16 kB / 0.5698 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.4385, allocations: 20 kB / 0.5699 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006259/0.4392, allocations: 393.8 kB / 0.5702 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.4399, allocations: 0.6033 MB / 0.5708 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.44, allocations: 3.906 kB / 0.5708 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.44, allocations: 4 kB / 0.5708 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/0.4401, allocations: 44.73 kB / 0.5709 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.4431, allocations: 2.965 MB / 0.5738 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.4435, allocations: 249.4 kB / 0.574 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.4437, allocations: 145.7 kB / 0.5741 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.4438, allocations: 7.984 kB / 0.5741 GB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4438, allocations: 38.5 kB / 0.5742 GB, free: 4.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.595e-06/0.4438, allocations: 0 / 0.5742 GB, free: 4.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001477/0.4453, allocations: 0.8832 MB / 0.575 GB, free: 3.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4454, allocations: 85.14 kB / 0.5751 GB, free: 3.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4456, allocations: 263.4 kB / 0.5754 GB, free: 3.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.4457, allocations: 25.7 kB / 0.5754 GB, free: 3.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4458, allocations: 259.1 kB / 0.5756 GB, free: 2.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/0.4459, allocations: 94.64 kB / 0.5757 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.4459, allocations: 0 / 0.5757 GB, free: 2.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.446, allocations: 346.8 kB / 0.5761 GB, free: 2.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.4462, allocations: 140.9 kB / 0.5762 GB, free: 2.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.4465, allocations: 314.1 kB / 0.5765 GB, free: 1.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.4468, allocations: 204.8 kB / 0.5767 GB, free: 1.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4469, allocations: 7.906 kB / 0.5767 GB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001099/0.448, allocations: 0.5729 MB / 0.5773 GB, free: 1.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.448, allocations: 5.406 kB / 0.5773 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006919/0.4487, allocations: 383 kB / 0.5776 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004089/0.4491, allocations: 117.6 kB / 0.5777 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.4494, allocations: 79.89 kB / 0.5778 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.4519, allocations: 2.86 MB / 0.5806 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.4522, allocations: 11.94 kB / 0.5806 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.4523, allocations: 24.03 kB / 0.5807 GB, free: 13.35 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.4524, allocations: 124.8 kB / 0.5808 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.4525, allocations: 31.62 kB / 0.5808 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.4531, allocations: 373.4 kB / 0.5812 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4531, allocations: 12 kB / 0.5812 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.4531, allocations: 0 / 0.5812 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4532, allocations: 0 / 0.5812 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.4544, allocations: 0.8017 MB / 0.582 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4544, allocations: 4 kB / 0.582 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.4548, allocations: 67.83 kB / 0.582 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4548, allocations: 4 kB / 0.582 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.4549, allocations: 4 kB / 0.582 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4549, allocations: 0 / 0.582 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4549, allocations: 8.062 kB / 0.582 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007577/0.4557, allocations: 0.624 MB / 0.5826 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4558, allocations: 124.7 kB / 0.5828 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.4559, allocations: 8 kB / 0.5828 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4561, allocations: 11.89 kB / 0.5828 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.4561, allocations: 11.98 kB / 0.5828 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.4562, allocations: 8 kB / 0.5828 GB, free: 11.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001915/0.4564, allocations: 199.1 kB / 0.583 GB, free: 10.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000541/0.4569, allocations: 100 kB / 0.5831 GB, free: 10.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.4571, allocations: 131.1 kB / 0.5832 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00088/0.458, allocations: 0.567 MB / 0.5838 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.458, allocations: 0 / 0.5838 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.4583, allocations: 152.4 kB / 0.5839 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.4587, allocations: 53.25 kB / 0.584 GB, free: 9.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4601, allocations: 0.7874 MB / 0.5847 GB, free: 8.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.4607, allocations: 0.9155 MB / 0.5856 GB, free: 8.039 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4607, allocations: 0 / 0.5856 GB, free: 8.039 MB / 426.7 MB Notification: Performance of Templates: time 0.008907/0.4696, allocations: 4.251 MB / 0.5898 GB, free: 3.797 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches