Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.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.001487/0.001487, allocations: 185.2 kB / 8.135 MB, free: 2.191 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.277/1.277, 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.001188/0.001188, allocations: 97.08 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1734/0.1734, allocations: 37.97 MB / 347.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.127e-06, allocations: 4 kB / 410 MB, free: 46.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 56.32 MB / 466.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4482, allocations: 100.1 MB / 0.5532 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4485, allocations: 83.95 kB / 0.5533 GB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03546/0.484, allocations: 12.14 MB / 0.5651 GB, free: 14.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.4841, allocations: 12 kB / 0.5651 GB, free: 14.09 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001127/0.4852, allocations: 0.6684 MB / 0.5658 GB, free: 13.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4852, allocations: 12.03 kB / 0.5658 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/0.4858, allocations: 95.27 kB / 0.5659 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.488, allocations: 0.8494 MB / 0.5667 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.4881, allocations: 16 kB / 0.5667 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.4881, allocations: 28.69 kB / 0.5668 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000619/0.4888, allocations: 369.9 kB / 0.5671 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.4896, allocations: 0.5724 MB / 0.5677 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.4896, allocations: 7.938 kB / 0.5677 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.4897, allocations: 0 / 0.5677 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.4897, allocations: 24.77 kB / 0.5677 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.4929, allocations: 2.85 MB / 0.5705 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.4932, allocations: 189 kB / 0.5707 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.4934, allocations: 133.7 kB / 0.5708 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.4935, allocations: 4 kB / 0.5708 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.4935, allocations: 46.55 kB / 0.5708 GB, free: 7.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.4935, allocations: 0 / 0.5708 GB, free: 7.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001419/0.495, allocations: 0.8423 MB / 0.5717 GB, free: 7.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.495, allocations: 85.3 kB / 0.5717 GB, free: 6.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4953, allocations: 279.4 kB / 0.572 GB, free: 6.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4953, allocations: 25.7 kB / 0.572 GB, free: 6.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.4955, allocations: 259.1 kB / 0.5723 GB, free: 6.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.4956, allocations: 86.75 kB / 0.5724 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.4956, allocations: 0 / 0.5724 GB, free: 6.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4958, allocations: 342.8 kB / 0.5727 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.496, allocations: 136.8 kB / 0.5728 GB, free: 5.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.4963, allocations: 324.3 kB / 0.5731 GB, free: 5.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.4966, allocations: 202.3 kB / 0.5733 GB, free: 5.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4966, allocations: 4 kB / 0.5733 GB, free: 5.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00102/0.4977, allocations: 0.5569 MB / 0.5739 GB, free: 4.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4977, allocations: 5.406 kB / 0.5739 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005926/0.4983, allocations: 325.3 kB / 0.5742 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.4986, allocations: 80.8 kB / 0.5743 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.499, allocations: 91.81 kB / 0.5744 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.5005, allocations: 1.506 MB / 0.5758 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.5008, allocations: 16.03 kB / 0.5758 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.5008, allocations: 16 kB / 0.5759 GB, free: 2.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.501, allocations: 128.9 kB / 0.576 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.501, allocations: 31.62 kB / 0.576 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006351/0.5017, allocations: 340.9 kB / 0.5763 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.5017, allocations: 11.84 kB / 0.5763 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.5017, allocations: 0 / 0.5763 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5017, allocations: 8.125 kB / 0.5764 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.5031, allocations: 0.7945 MB / 0.5771 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5031, allocations: 7.984 kB / 0.5771 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.5035, allocations: 51.95 kB / 0.5772 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5035, allocations: 4 kB / 0.5772 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5036, allocations: 8 kB / 0.5772 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5036, allocations: 0 / 0.5772 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5036, allocations: 8 kB / 0.5772 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007446/0.5043, allocations: 0.5806 MB / 0.5778 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.5044, allocations: 112.7 kB / 0.5779 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.5045, allocations: 4 kB / 0.5779 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.5047, allocations: 8 kB / 0.5779 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.5048, allocations: 15.88 kB / 0.5779 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.5048, allocations: 15.94 kB / 0.5779 GB, free: 240 kB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001978/0.505, allocations: 203.1 kB / 0.5781 GB, free: 40 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.5055, allocations: 99.98 kB / 0.5782 GB, free: 15.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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.0001973/0.5057, allocations: 119.1 kB / 0.5783 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007621/0.5065, allocations: 461.9 kB / 0.5788 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5065, allocations: 1.688 kB / 0.5788 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.5067, allocations: 143.8 kB / 0.5789 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.5071, allocations: 53.33 kB / 0.579 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.5085, allocations: 0.7795 MB / 0.5797 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.5091, allocations: 0.9077 MB / 0.5806 GB, free: 13.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5091, allocations: 0 / 0.5806 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.008234/0.5174, allocations: 3.816 MB / 0.5843 GB, free: 9.586 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches