Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [: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.00103/0.00103, allocations: 183.2 kB / 8.138 MB, free: 2.219 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.298/1.298, 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.0008643/0.000864, allocations: 89.64 kB / 261.7 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1724/0.1724, allocations: 37.97 MB / 347.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.502e-06, allocations: 4 kB / 410 MB, free: 46.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 56.31 MB / 466.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3144/0.4198, allocations: 98.15 MB / 0.5513 GB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4201, allocations: 83.95 kB / 0.5513 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03103/0.4511, allocations: 10.51 MB / 0.5616 GB, free: 1.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.4512, allocations: 12 kB / 0.5616 GB, free: 1.773 MB / 394.7 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.0011/0.4523, allocations: 0.6801 MB / 0.5623 GB, free: 1.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4524, allocations: 11.97 kB / 0.5623 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.4525, allocations: 55.28 kB / 0.5623 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.4557, allocations: 1.217 MB / 0.5635 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.4557, allocations: 12 kB / 0.5635 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.4558, allocations: 24 kB / 0.5636 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006232/0.4564, allocations: 337.6 kB / 0.5639 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006864/0.4571, allocations: 444.8 kB / 0.5643 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4572, allocations: 3.938 kB / 0.5643 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.4572, allocations: 0 / 0.5643 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.4573, allocations: 24.77 kB / 0.5643 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.4599, allocations: 2.023 MB / 0.5663 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.4603, allocations: 217.8 kB / 0.5665 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.4605, allocations: 122.1 kB / 0.5666 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4606, allocations: 4.188 kB / 0.5666 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4606, allocations: 30.75 kB / 0.5667 GB, free: 12.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.4606, allocations: 4 kB / 0.5667 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001121/0.4617, allocations: 0.6576 MB / 0.5673 GB, free: 11.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.4618, allocations: 81.11 kB / 0.5674 GB, free: 11.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.4622, allocations: 300.8 kB / 0.5677 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4622, allocations: 25.7 kB / 0.5677 GB, free: 11.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4624, allocations: 263.2 kB / 0.5679 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.4625, allocations: 78.88 kB / 0.568 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.4625, allocations: 0 / 0.568 GB, free: 10.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4626, allocations: 350.8 kB / 0.5684 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4628, allocations: 76.86 kB / 0.5684 GB, free: 10.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.463, allocations: 256.4 kB / 0.5687 GB, free: 10.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4632, allocations: 131.9 kB / 0.5688 GB, free: 9.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4633, allocations: 8 kB / 0.5688 GB, free: 9.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006639/0.4639, allocations: 393.7 kB / 0.5692 GB, free: 9.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4639, allocations: 8 kB / 0.5692 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.464, allocations: 11.92 kB / 0.5692 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.4642, allocations: 48.84 kB / 0.5693 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.4645, allocations: 76.25 kB / 0.5693 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.4659, allocations: 1.428 MB / 0.5707 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4661, allocations: 8 kB / 0.5707 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.4662, allocations: 24.06 kB / 0.5707 GB, free: 7.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.4663, allocations: 124.7 kB / 0.5709 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.4664, allocations: 35.53 kB / 0.5709 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.4667, allocations: 217 kB / 0.5711 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4667, allocations: 4.062 kB / 0.5711 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4667, allocations: 4 kB / 0.5711 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4668, allocations: 3.938 kB / 0.5711 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.4676, allocations: 0.606 MB / 0.5717 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4676, allocations: 0 / 0.5717 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.4679, allocations: 43.97 kB / 0.5718 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4679, allocations: 4 kB / 0.5718 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4679, allocations: 0 / 0.5718 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4679, allocations: 8.031 kB / 0.5718 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4679, allocations: 0 / 0.5718 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005075/0.4684, allocations: 447.6 kB / 0.5722 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4686, allocations: 124.6 kB / 0.5723 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.4686, allocations: 8.062 kB / 0.5723 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4688, allocations: 7.922 kB / 0.5723 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.4688, allocations: 7.984 kB / 0.5723 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4688, allocations: 8 kB / 0.5723 GB, free: 6.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002209/0.4691, allocations: 227.2 kB / 0.5726 GB, free: 5.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004825/0.4695, allocations: 95.84 kB / 0.5727 GB, free: 5.754 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.4698, allocations: 131.2 kB / 0.5728 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.4704, allocations: 350.9 kB / 0.5731 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4704, allocations: 0 / 0.5731 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.4705, allocations: 92.05 kB / 0.5732 GB, free: 5.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.471, allocations: 73.95 kB / 0.5733 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.4722, allocations: 0.5747 MB / 0.5738 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.4728, allocations: 0.9047 MB / 0.5747 GB, free: 3.562 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4728, allocations: 0 / 0.5747 GB, free: 3.562 MB / 410.7 MB Notification: Performance of Templates: time 0.008579/0.4814, allocations: 3.696 MB / 0.5783 GB, free: 15.87 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches