Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [: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.00136/0.00136, allocations: 182.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.203/1.203, 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.0008521/0.0008522, allocations: 91.61 kB / 261.8 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1615/0.1615, allocations: 37.97 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.202e-06, allocations: 4 kB / 410 MB, free: 46.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.0903, allocations: 56.32 MB / 466.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2574/0.3477, allocations: 94.52 MB / 0.5477 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.348, allocations: 88.02 kB / 0.5478 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02814/0.3762, allocations: 7.011 MB / 0.5546 GB, free: 8.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.3762, allocations: 8 kB / 0.5546 GB, free: 8.871 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001169/0.3774, allocations: 0.5787 MB / 0.5552 GB, free: 8.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3775, allocations: 8.031 kB / 0.5552 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3776, allocations: 39.53 kB / 0.5552 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/0.3806, allocations: 0.8007 MB / 0.556 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3806, allocations: 8 kB / 0.556 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.3807, allocations: 19.94 kB / 0.5561 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005546/0.3813, allocations: 217.1 kB / 0.5563 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.382, allocations: 312.5 kB / 0.5566 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.382, allocations: 0 / 0.5566 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3821, allocations: 0 / 0.5566 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3821, allocations: 8 kB / 0.5566 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.3845, allocations: 1.315 MB / 0.5579 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.3848, allocations: 141.1 kB / 0.558 GB, free: 5.234 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3851, allocations: 101.7 kB / 0.5581 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.3852, allocations: 4 kB / 0.5581 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3852, allocations: 30.81 kB / 0.5581 GB, free: 5.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.595e-06/0.3852, allocations: 0 / 0.5581 GB, free: 5.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001506/0.3867, allocations: 0.5722 MB / 0.5587 GB, free: 4.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.3868, allocations: 81.11 kB / 0.5588 GB, free: 4.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.3873, allocations: 259.4 kB / 0.559 GB, free: 4.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3873, allocations: 25.7 kB / 0.559 GB, free: 4.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.3875, allocations: 183.5 kB / 0.5592 GB, free: 3.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.3875, allocations: 47.36 kB / 0.5592 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.3876, allocations: 0 / 0.5592 GB, free: 3.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3877, allocations: 346.8 kB / 0.5596 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3879, allocations: 55.97 kB / 0.5596 GB, free: 3.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3882, allocations: 153.8 kB / 0.5598 GB, free: 3.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.3884, allocations: 95.83 kB / 0.5599 GB, free: 3.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3884, allocations: 0 / 0.5599 GB, free: 3.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007262/0.3892, allocations: 276.6 kB / 0.5601 GB, free: 2.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3892, allocations: 5.844 kB / 0.5601 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3892, allocations: 12.66 kB / 0.5602 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.3895, allocations: 52.81 kB / 0.5602 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3898, allocations: 47.92 kB / 0.5602 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.3917, allocations: 1.388 MB / 0.5616 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3919, allocations: 4 kB / 0.5616 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.392, allocations: 11.98 kB / 0.5616 GB, free: 1.227 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.3921, allocations: 124.7 kB / 0.5617 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.3922, allocations: 23.72 kB / 0.5618 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/0.3928, allocations: 220.3 kB / 0.562 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3928, allocations: 3.938 kB / 0.562 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3929, allocations: 4 kB / 0.562 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3929, allocations: 0 / 0.562 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.394, allocations: 0.5707 MB / 0.5625 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.394, allocations: 0 / 0.5625 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3942, allocations: 27.98 kB / 0.5626 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.3945, allocations: 56.69 kB / 0.5626 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3945, allocations: 0 / 0.5626 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.3961, allocations: 1.4 MB / 0.564 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.3962, allocations: 4.031 kB / 0.564 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007132/0.3969, allocations: 409.8 kB / 0.5644 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.397, allocations: 104.9 kB / 0.5645 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.3971, allocations: 0 / 0.5645 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3973, allocations: 0 / 0.5645 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3974, allocations: 11.98 kB / 0.5645 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.3974, allocations: 11.98 kB / 0.5645 GB, free: 14.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002753/0.3977, allocations: 195.2 kB / 0.5647 GB, free: 13.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006671/0.3984, allocations: 60 kB / 0.5647 GB, free: 13.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.3986, allocations: 107.2 kB / 0.5648 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.3992, allocations: 270.4 kB / 0.5651 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3992, allocations: 0 / 0.5651 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.3997, allocations: 181.8 kB / 0.5653 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.4003, allocations: 52.52 kB / 0.5653 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4018, allocations: 0.5127 MB / 0.5658 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/0.4023, allocations: 0.8449 MB / 0.5667 GB, free: 11.75 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4024, allocations: 0 / 0.5667 GB, free: 11.75 MB / 410.7 MB Notification: Performance of Templates: time 0.009445/0.4118, allocations: 2.665 MB / 0.5693 GB, free: 9.086 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches