Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,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.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,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.Source") [: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.001168/0.001168, allocations: 178 kB / 8.131 MB, free: 0.8789 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.2 MB / 213.7 MB, free: 8.531 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 93.88 kB / 261.7 MB, free: 5.137 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1648/0.1648, allocations: 37.96 MB / 347.7 MB, free: 0.8906 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 6.391e-06/6.412e-06, allocations: 0 / 410 MB, free: 74.48 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0922/0.09222, allocations: 56.32 MB / 466.3 MB, free: 18.13 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/0.3701, allocations: 100.6 MB / 0.5537 GB, free: 11.23 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3704, allocations: 83.73 kB / 0.5538 GB, free: 11.19 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.0692/0.4396, allocations: 14.64 MB / 0.5681 GB, free: 14.79 MB / 386.8 MB Notification: Performance of Transformations before backend: time 3.474e-05/0.4397, allocations: 15.94 kB / 0.5681 GB, free: 14.77 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001801/0.4415, allocations: 0.6576 MB / 0.5687 GB, free: 14.09 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4416, allocations: 8.031 kB / 0.5687 GB, free: 14.08 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.4426, allocations: 99.27 kB / 0.5688 GB, free: 13.98 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/0.4462, allocations: 0.8589 MB / 0.5697 GB, free: 13.23 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.4463, allocations: 12 kB / 0.5697 GB, free: 13.22 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.4464, allocations: 27.89 kB / 0.5697 GB, free: 13.19 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/0.4476, allocations: 479 kB / 0.5702 GB, free: 12.87 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.4491, allocations: 0.6292 MB / 0.5708 GB, free: 12.36 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.4491, allocations: 3.938 kB / 0.5708 GB, free: 12.35 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.4492, allocations: 0 / 0.5708 GB, free: 12.35 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/0.4495, allocations: 59.48 kB / 0.5708 GB, free: 12.3 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006214/0.4557, allocations: 2.522 MB / 0.5733 GB, free: 9.984 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.4565, allocations: 337.2 kB / 0.5736 GB, free: 9.73 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.457, allocations: 238.8 kB / 0.5738 GB, free: 9.57 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.075e-05/0.4571, allocations: 7.984 kB / 0.5739 GB, free: 9.562 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4572, allocations: 33.75 kB / 0.5739 GB, free: 9.523 MB / 386.8 MB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.4572, allocations: 11.94 kB / 0.5739 GB, free: 9.512 MB / 386.8 MB Notification: Performance of matching and sorting (n=44): time 0.004759/0.462, allocations: 1.499 MB / 0.5754 GB, free: 8.207 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.462, allocations: 81.11 kB / 0.5754 GB, free: 8.109 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.4624, allocations: 216.4 kB / 0.5756 GB, free: 7.926 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.4625, allocations: 29.7 kB / 0.5757 GB, free: 7.891 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.4626, allocations: 219.8 kB / 0.5759 GB, free: 7.688 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4628, allocations: 147.9 kB / 0.576 GB, free: 7.559 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.4629, allocations: 4.031 kB / 0.576 GB, free: 7.555 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.463, allocations: 349.4 kB / 0.5764 GB, free: 7.219 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.4635, allocations: 217.1 kB / 0.5766 GB, free: 7.074 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.4641, allocations: 332.3 kB / 0.5769 GB, free: 6.773 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4653, allocations: 359.2 kB / 0.5772 GB, free: 6.496 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4653, allocations: 4 kB / 0.5772 GB, free: 6.492 MB / 386.8 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002536/0.4679, allocations: 0.7959 MB / 0.578 GB, free: 5.844 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4679, allocations: 4 kB / 0.578 GB, free: 5.84 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001986/0.4699, allocations: 0.6312 MB / 0.5786 GB, free: 5.344 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.4706, allocations: 113.4 kB / 0.5787 GB, free: 5.242 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.4711, allocations: 78.55 kB / 0.5788 GB, free: 5.168 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.4749, allocations: 2.852 MB / 0.5816 GB, free: 2.27 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.4754, allocations: 16.02 kB / 0.5816 GB, free: 2.254 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.4755, allocations: 18.88 kB / 0.5816 GB, free: 2.238 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * 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.0001706/0.4757, allocations: 113.1 kB / 0.5817 GB, free: 2.121 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.4758, allocations: 39.78 kB / 0.5818 GB, free: 2.082 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4777, allocations: 0.6257 MB / 0.5824 GB, free: 1.598 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.391e-05/0.4778, allocations: 18.98 kB / 0.5824 GB, free: 1.582 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.4778, allocations: 0 / 0.5824 GB, free: 1.582 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.4778, allocations: 7.984 kB / 0.5824 GB, free: 1.574 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.4812, allocations: 1.274 MB / 0.5837 GB, free: 432 kB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4812, allocations: 7.938 kB / 0.5837 GB, free: 424 kB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/0.4821, allocations: 70.83 kB / 0.5837 GB, free: 356 kB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.4821, allocations: 0 / 0.5837 GB, free: 356 kB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.4822, allocations: 8 kB / 0.5837 GB, free: 348 kB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/0.4822, allocations: 15.83 kB / 0.5838 GB, free: 332 kB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4822, allocations: 0 / 0.5838 GB, free: 332 kB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002521/0.4847, allocations: 1.077 MB / 0.5848 GB, free: 15.38 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.4851, allocations: 147.3 kB / 0.5849 GB, free: 15.23 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4852, allocations: 4 kB / 0.5849 GB, free: 15.23 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.4857, allocations: 19.88 kB / 0.585 GB, free: 15.21 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.4858, allocations: 15.11 kB / 0.585 GB, free: 15.2 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.4858, allocations: 15.94 kB / 0.585 GB, free: 15.18 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0002527/0.4861, allocations: 175.2 kB / 0.5852 GB, free: 15.04 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0009663/0.4871, allocations: 123.9 kB / 0.5853 GB, free: 14.92 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 27 * Array equations: 3 * 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.0002958/0.4874, allocations: 150.6 kB / 0.5854 GB, free: 14.77 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.489, allocations: 0.7387 MB / 0.5861 GB, free: 14.16 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.489, allocations: 8.188 kB / 0.5862 GB, free: 14.15 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.4896, allocations: 261.4 kB / 0.5864 GB, free: 13.96 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.4901, allocations: 43.64 kB / 0.5864 GB, free: 13.93 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4923, allocations: 0.948 MB / 0.5874 GB, free: 13.04 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000833/0.4932, allocations: 0.9228 MB / 0.5883 GB, free: 12.1 MB / 402.8 MB Notification: Performance of SimCode: time 3.5e-07/0.4932, allocations: 4 kB / 0.5883 GB, free: 12.1 MB / 402.8 MB Notification: Performance of Templates: time 0.01406/0.5072, allocations: 5.07 MB / 0.5932 GB, free: 7.059 MB / 402.8 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches