Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest") [: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.001029/0.001029, allocations: 183.4 kB / 8.136 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.203/1.203, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.00091/0.0009099, allocations: 91.55 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1637/0.1637, allocations: 37.97 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.155e-06, allocations: 0 / 410 MB, free: 46.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 56.32 MB / 466.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4792, allocations: 94.03 MB / 0.5472 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/0.4797, allocations: 83.95 kB / 0.5473 GB, free: 496 kB / 378.7 MB Notification: Performance of FrontEnd: time 0.03853/0.5182, allocations: 13.7 MB / 0.5607 GB, free: 2.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.5183, allocations: 11.94 kB / 0.5607 GB, free: 2.613 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009857/0.5193, allocations: 490.5 kB / 0.5612 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5194, allocations: 15.97 kB / 0.5612 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5207, allocations: 111.6 kB / 0.5613 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.5211, allocations: 270.5 kB / 0.5615 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5212, allocations: 11.94 kB / 0.5616 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.5212, allocations: 12 kB / 0.5616 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003997/0.5216, allocations: 208.3 kB / 0.5618 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.5221, allocations: 293.7 kB / 0.562 GB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5221, allocations: 0 / 0.562 GB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.5221, allocations: 11.98 kB / 0.5621 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.64e-05/0.5222, allocations: 23.98 kB / 0.5621 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.524, allocations: 1.258 MB / 0.5633 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.5242, allocations: 173 kB / 0.5635 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5244, allocations: 113.8 kB / 0.5636 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.5245, allocations: 4 kB / 0.5636 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.5245, allocations: 34.55 kB / 0.5636 GB, free: 15.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.076e-06/0.5245, allocations: 4 kB / 0.5636 GB, free: 15.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001143/0.5257, allocations: 471.3 kB / 0.5641 GB, free: 14.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.5257, allocations: 81.11 kB / 0.5641 GB, free: 14.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.5259, allocations: 157.5 kB / 0.5643 GB, free: 14.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5259, allocations: 25.7 kB / 0.5643 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.526, allocations: 136.2 kB / 0.5645 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.5261, allocations: 66.95 kB / 0.5645 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.5261, allocations: 4.031 kB / 0.5645 GB, free: 14.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5263, allocations: 326.8 kB / 0.5648 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5265, allocations: 84.44 kB / 0.5649 GB, free: 14.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.5266, allocations: 158.6 kB / 0.5651 GB, free: 13.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.5268, allocations: 111.8 kB / 0.5652 GB, free: 13.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5268, allocations: 0 / 0.5652 GB, free: 13.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006761/0.5275, allocations: 362.2 kB / 0.5655 GB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5275, allocations: 4 kB / 0.5655 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5276, allocations: 4 kB / 0.5655 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.528, allocations: 92.77 kB / 0.5656 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.5282, allocations: 39.92 kB / 0.5656 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.5304, allocations: 1.81 MB / 0.5674 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.5306, allocations: 8 kB / 0.5674 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.5306, allocations: 12.06 kB / 0.5674 GB, free: 11.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/0.5307, allocations: 108.9 kB / 0.5675 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.5308, allocations: 15.81 kB / 0.5676 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.5314, allocations: 333.5 kB / 0.5679 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5314, allocations: 4 kB / 0.5679 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5314, allocations: 7.891 kB / 0.5679 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5314, allocations: 0 / 0.5679 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.5327, allocations: 0.7512 MB / 0.5686 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5328, allocations: 0 / 0.5686 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.5329, allocations: 31.92 kB / 0.5686 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.5332, allocations: 76.78 kB / 0.5687 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.5332, allocations: 0 / 0.5687 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.535, allocations: 1.716 MB / 0.5704 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.5351, allocations: 4 kB / 0.5704 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006717/0.5357, allocations: 464.2 kB / 0.5708 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.5358, allocations: 92.91 kB / 0.5709 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.5359, allocations: 4 kB / 0.5709 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.536, allocations: 7.938 kB / 0.5709 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.536, allocations: 15.91 kB / 0.571 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5361, allocations: 8 kB / 0.571 GB, free: 7.402 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.204e-05/0.5362, allocations: 120.3 kB / 0.5711 GB, free: 7.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.5366, allocations: 63.94 kB / 0.5711 GB, free: 7.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (18): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.5369, allocations: 107.2 kB / 0.5712 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006719/0.5375, allocations: 365.4 kB / 0.5716 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5376, allocations: 0 / 0.5716 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.5379, allocations: 250.3 kB / 0.5718 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.5382, allocations: 27.97 kB / 0.5719 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.539, allocations: 359.8 kB / 0.5722 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.5394, allocations: 0.7895 MB / 0.573 GB, free: 5.262 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5394, allocations: 0 / 0.573 GB, free: 5.262 MB / 410.7 MB Notification: Performance of Templates: time 0.006076/0.5455, allocations: 2.862 MB / 0.5758 GB, free: 2.398 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,line.i[1],line.i[2],line.p[1],line.p[2],line.v[1],line.v[2] Variables in the result:line.L,line.R,line.i[1],line.i[2],line.i_start[1],line.i_start[2],line.p[1],line.p[2],line.v[1],line.v[2],line.v_start[1],line.v_start[2],load.P,load.phi,load.v_start[1],load.v_start[2],source.V,source.definiteReference,source.potentialReference,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time