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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) [: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.004185/0.004185, allocations: 180 kB / 7.458 MB, free: 2.516 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.267/1.267, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.001/0.001, allocations: 95.73 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4629/0.4629, allocations: 78.93 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.169/0.6319, allocations: 75.64 MB / 485.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/1.023, allocations: 69.51 MB / 0.542 GB, free: 21.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/1.16, allocations: 93.83 MB / 0.6336 GB, free: 10.13 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.161, allocations: 75.95 kB / 0.6337 GB, free: 10.05 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.03171/1.192, allocations: 10.47 MB / 0.6439 GB, free: 15.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/1.193, allocations: 8 kB / 0.6439 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/1.194, allocations: 135.2 kB / 0.644 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/1.194, allocations: 377.7 kB / 0.6444 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.195, allocations: 58.34 kB / 0.6444 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/1.195, allocations: 16 kB / 0.6444 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005839/1.195, allocations: 277.2 kB / 0.6447 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/1.196, allocations: 300.7 kB / 0.645 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.196, allocations: 0 / 0.645 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/1.196, allocations: 0 / 0.645 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.196, allocations: 8 kB / 0.645 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/1.2, allocations: 2.305 MB / 0.6473 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/1.2, allocations: 264.3 kB / 0.6475 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/1.2, allocations: 136.8 kB / 0.6476 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/1.2, allocations: 4 kB / 0.6476 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.2, allocations: 34.55 kB / 0.6477 GB, free: 11.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/1.2, allocations: 0 / 0.6477 GB, free: 11.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.002233/1.203, allocations: 0.7035 MB / 0.6484 GB, free: 10.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/1.203, allocations: 55.41 kB / 0.6484 GB, free: 10.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/1.203, allocations: 353.2 kB / 0.6488 GB, free: 10.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/1.203, allocations: 25.7 kB / 0.6488 GB, free: 10.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/1.203, allocations: 211.5 kB / 0.649 GB, free: 9.887 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/1.204, allocations: 90.69 kB / 0.6491 GB, free: 9.797 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/1.204, allocations: 0 / 0.6491 GB, free: 9.797 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/1.204, allocations: 346.8 kB / 0.6494 GB, free: 9.449 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/1.204, allocations: 148.1 kB / 0.6495 GB, free: 9.301 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/1.204, allocations: 181.2 kB / 0.6497 GB, free: 9.105 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/1.205, allocations: 144.9 kB / 0.6498 GB, free: 8.965 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.205, allocations: 0 / 0.6498 GB, free: 8.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00224/1.207, allocations: 0.7902 MB / 0.6506 GB, free: 8.164 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.207, allocations: 7.984 kB / 0.6506 GB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.207, allocations: 0 / 0.6506 GB, free: 8.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/1.209, allocations: 0.5745 MB / 0.6512 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/1.21, allocations: 195.8 kB / 0.6514 GB, free: 7.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/1.216, allocations: 2.663 MB / 0.654 GB, free: 4.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/1.217, allocations: 55.66 kB / 0.654 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/1.217, allocations: 15.98 kB / 0.654 GB, free: 4.539 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.0002213/1.217, allocations: 121.1 kB / 0.6542 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.217, allocations: 43.44 kB / 0.6542 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/1.22, allocations: 0.724 MB / 0.6549 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.22, allocations: 0 / 0.6549 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.22, allocations: 3.984 kB / 0.6549 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.22, allocations: 0 / 0.6549 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/1.223, allocations: 1.397 MB / 0.6563 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.223, allocations: 3.938 kB / 0.6563 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.224, allocations: 171.8 kB / 0.6564 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.227, allocations: 0.6642 MB / 0.6571 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/1.227, allocations: 11.98 kB / 0.6571 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006344/1.233, allocations: 2.658 MB / 0.6597 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.233, allocations: 0 / 0.6597 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002584/1.236, allocations: 0.9736 MB / 0.6606 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003077/1.239, allocations: 1.515 MB / 0.6621 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/1.239, allocations: 128.5 kB / 0.6623 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.239, allocations: 7.984 kB / 0.6623 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/1.24, allocations: 32.03 kB / 0.6623 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/1.24, allocations: 35.94 kB / 0.6623 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.24, allocations: 8.109 kB / 0.6623 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004204/1.24, allocations: 271.2 kB / 0.6626 GB, free: 11.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001288/1.242, allocations: 131.8 kB / 0.6627 GB, free: 11.4 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.0002507/1.242, allocations: 130.4 kB / 0.6628 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002652/1.245, allocations: 0.6892 MB / 0.6635 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.245, allocations: 0 / 0.6635 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/1.247, allocations: 0.5365 MB / 0.664 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/1.247, allocations: 29.91 kB / 0.6641 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/1.251, allocations: 0.7689 MB / 0.6648 GB, free: 9.195 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/1.252, allocations: 0.8534 MB / 0.6656 GB, free: 8.316 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/1.252, allocations: 0 / 0.6656 GB, free: 8.316 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)