Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") [: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 4.0.0+maint.om/package.mo): time 0.003134/0.003134, allocations: 183.3 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 229.3 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 107.8 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4295/0.4295, allocations: 78.91 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 0 / 485.3 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3577, allocations: 69.51 MB / 0.5419 GB, free: 20.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.4761, allocations: 93.83 MB / 0.6335 GB, free: 10.03 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.4765, allocations: 79.95 kB / 0.6336 GB, free: 9.953 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02788/0.5044, allocations: 9.71 MB / 0.643 GB, free: 148 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.5045, allocations: 12 kB / 0.6431 GB, free: 136 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00156/0.5061, allocations: 0.7475 MB / 0.6438 GB, free: 15.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5061, allocations: 8.031 kB / 0.6438 GB, free: 15.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.5069, allocations: 131.2 kB / 0.6439 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.5077, allocations: 381.7 kB / 0.6443 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.5079, allocations: 50.34 kB / 0.6443 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.508, allocations: 16 kB / 0.6443 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005391/0.5085, allocations: 273.3 kB / 0.6446 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.5091, allocations: 300.7 kB / 0.6449 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5091, allocations: 4 kB / 0.6449 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.5091, allocations: 0 / 0.6449 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.5091, allocations: 8 kB / 0.6449 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.5127, allocations: 2.309 MB / 0.6472 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.5131, allocations: 257.9 kB / 0.6474 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.5133, allocations: 136.8 kB / 0.6475 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.5134, allocations: 11.97 kB / 0.6475 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.5134, allocations: 30.56 kB / 0.6476 GB, free: 11.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.5134, allocations: 0 / 0.6476 GB, free: 11.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.002126/0.5155, allocations: 0.6957 MB / 0.6483 GB, free: 10.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.5156, allocations: 55.41 kB / 0.6483 GB, free: 10.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.5161, allocations: 357.2 kB / 0.6486 GB, free: 10.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.5161, allocations: 29.7 kB / 0.6487 GB, free: 10.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.5163, allocations: 199.6 kB / 0.6489 GB, free: 9.809 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.5164, allocations: 90.69 kB / 0.649 GB, free: 9.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.5164, allocations: 0 / 0.649 GB, free: 9.719 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.5166, allocations: 358.8 kB / 0.6493 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.5168, allocations: 136.1 kB / 0.6494 GB, free: 9.223 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.5171, allocations: 193.1 kB / 0.6496 GB, free: 9.016 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.5174, allocations: 144.9 kB / 0.6497 GB, free: 8.875 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5174, allocations: 0 / 0.6497 GB, free: 8.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002162/0.5196, allocations: 0.7902 MB / 0.6505 GB, free: 8.074 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5196, allocations: 4 kB / 0.6505 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5196, allocations: 0 / 0.6505 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/0.5219, allocations: 0.5939 MB / 0.6511 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.5229, allocations: 187.8 kB / 0.6513 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.5291, allocations: 2.65 MB / 0.6539 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/0.5296, allocations: 55.66 kB / 0.6539 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.5297, allocations: 15.98 kB / 0.6539 GB, free: 4.457 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" ) "Measured power flow" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.5299, allocations: 113.5 kB / 0.654 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.53, allocations: 43.44 kB / 0.6541 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.5322, allocations: 0.7279 MB / 0.6548 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5323, allocations: 4 kB / 0.6548 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5323, allocations: 0 / 0.6548 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5323, allocations: 288 / 0.6548 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.5351, allocations: 1.397 MB / 0.6562 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5352, allocations: 11.92 kB / 0.6562 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.5362, allocations: 171.8 kB / 0.6563 GB, free: 1.914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.5389, allocations: 0.6757 MB / 0.657 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.5389, allocations: 7.984 kB / 0.657 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005708/0.5446, allocations: 2.654 MB / 0.6596 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5447, allocations: 0 / 0.6596 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002365/0.547, allocations: 0.968 MB / 0.6605 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.5472, allocations: 124.5 kB / 0.6607 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.5473, allocations: 8.062 kB / 0.6607 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.5478, allocations: 31.97 kB / 0.6607 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5479, allocations: 43.95 kB / 0.6607 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.5479, allocations: 8 kB / 0.6608 GB, free: 13.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003187/0.5483, allocations: 279.1 kB / 0.661 GB, free: 12.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005497/0.5488, allocations: 115.8 kB / 0.6611 GB, free: 12.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002026/0.549, allocations: 122.4 kB / 0.6612 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.5516, allocations: 0.6968 MB / 0.6619 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5516, allocations: 4 kB / 0.6619 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.5538, allocations: 0.5368 MB / 0.6625 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.5541, allocations: 25.91 kB / 0.6625 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.5578, allocations: 0.7653 MB / 0.6632 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.5583, allocations: 0.8495 MB / 0.6641 GB, free: 9.77 MB / 490.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5583, allocations: 3.938 kB / 0.6641 GB, free: 9.766 MB / 490.7 MB Notification: Performance of Templates: time 0.01123/0.5696, allocations: 6.198 MB / 0.6701 GB, free: 3.578 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)