Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00208/0.002083, allocations: 178.4 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.038/1.038, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0008368/0.0008368, allocations: 98.41 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3583/0.3583, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.56e-06, allocations: 0 / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 69.34 MB / 0.5407 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09484/0.3242, allocations: 93.18 MB / 0.6317 GB, free: 11.78 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.3244, allocations: 75.95 kB / 0.6318 GB, free: 11.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.02475/0.3492, allocations: 9.636 MB / 0.6412 GB, free: 1.977 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3492, allocations: 8 kB / 0.6412 GB, free: 1.969 MB / 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.001122/0.3503, allocations: 0.7475 MB / 0.642 GB, free: 1.172 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3504, allocations: 8.031 kB / 0.642 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006379/0.351, allocations: 131.2 kB / 0.6421 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.3516, allocations: 381.7 kB / 0.6425 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/0.3517, allocations: 50.34 kB / 0.6425 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.3518, allocations: 16 kB / 0.6425 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004316/0.3522, allocations: 273.3 kB / 0.6428 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.3527, allocations: 304.7 kB / 0.6431 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3527, allocations: 0 / 0.6431 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.3527, allocations: 0 / 0.6431 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3527, allocations: 8 kB / 0.6431 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.3556, allocations: 2.309 MB / 0.6453 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.356, allocations: 258.7 kB / 0.6456 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3562, allocations: 128.9 kB / 0.6457 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.3563, allocations: 15.92 kB / 0.6457 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3563, allocations: 30.56 kB / 0.6458 GB, free: 13.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.3563, allocations: 0 / 0.6458 GB, free: 13.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.001925/0.3582, allocations: 0.6968 MB / 0.6464 GB, free: 12.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.3582, allocations: 55.41 kB / 0.6465 GB, free: 12.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3586, allocations: 353.2 kB / 0.6468 GB, free: 11.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3586, allocations: 29.64 kB / 0.6469 GB, free: 11.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.3587, allocations: 203.6 kB / 0.647 GB, free: 11.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.3588, allocations: 90.73 kB / 0.6471 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.3588, allocations: 0 / 0.6471 GB, free: 11.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.359, allocations: 354.8 kB / 0.6475 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3592, allocations: 136.3 kB / 0.6476 GB, free: 11.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3594, allocations: 189.1 kB / 0.6478 GB, free: 10.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3596, allocations: 140.9 kB / 0.6479 GB, free: 10.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3597, allocations: 0 / 0.6479 GB, free: 10.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001949/0.3616, allocations: 0.7902 MB / 0.6487 GB, free: 9.918 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3616, allocations: 4 kB / 0.6487 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3616, allocations: 0 / 0.6487 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.3638, allocations: 0.6017 MB / 0.6493 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.3647, allocations: 183.8 kB / 0.6495 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.3701, allocations: 2.655 MB / 0.652 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3705, allocations: 51.66 kB / 0.6521 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3706, allocations: 8 kB / 0.6521 GB, free: 6.301 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.0001509/0.3707, allocations: 129.7 kB / 0.6522 GB, free: 6.172 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.3708, allocations: 43.44 kB / 0.6523 GB, free: 6.129 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.3727, allocations: 0.7266 MB / 0.653 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3728, allocations: 0 / 0.653 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-06/0.3728, allocations: 0 / 0.653 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3728, allocations: 3.984 kB / 0.653 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.3753, allocations: 1.403 MB / 0.6544 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3753, allocations: 4.125 kB / 0.6544 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/0.3763, allocations: 167.9 kB / 0.6545 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/0.3787, allocations: 0.6759 MB / 0.6552 GB, free: 3.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3788, allocations: 7.984 kB / 0.6552 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/0.3841, allocations: 2.662 MB / 0.6578 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.3841, allocations: 0 / 0.6578 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002073/0.3862, allocations: 0.9681 MB / 0.6587 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.3863, allocations: 124.5 kB / 0.6588 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.3863, allocations: 12.06 kB / 0.6589 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.3867, allocations: 23.98 kB / 0.6589 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.3868, allocations: 43.92 kB / 0.6589 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.3868, allocations: 7.984 kB / 0.6589 GB, free: 15.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002565/0.3871, allocations: 275.2 kB / 0.6592 GB, free: 14.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004381/0.3875, allocations: 127.8 kB / 0.6593 GB, free: 14.68 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.0001473/0.3877, allocations: 118.5 kB / 0.6594 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.39, allocations: 0.6929 MB / 0.6601 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.39, allocations: 0 / 0.6601 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.392, allocations: 0.5366 MB / 0.6606 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3923, allocations: 17.97 kB / 0.6606 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.3954, allocations: 0.7652 MB / 0.6614 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.3958, allocations: 0.8575 MB / 0.6622 GB, free: 11.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3958, allocations: 0 / 0.6622 GB, free: 11.62 MB / 490.7 MB Notification: Performance of Templates: time 0.00922/0.405, allocations: 6.198 MB / 0.6683 GB, free: 5.43 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)