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: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_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.002812/0.002812, allocations: 177.8 kB / 7.455 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.076/1.076, allocations: 221.4 MB / 229.3 MB, free: 3.301 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.0008446/0.0008444, allocations: 95.31 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3661/0.3661, allocations: 78.11 MB / 409 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1175/0.4836, allocations: 75.49 MB / 484.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.7265, allocations: 69.33 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0968/0.8234, allocations: 93.18 MB / 0.6318 GB, free: 11.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.8236, allocations: 75.95 kB / 0.6319 GB, free: 11.66 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.02679/0.8504, allocations: 10.4 MB / 0.6421 GB, free: 1.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.8505, allocations: 11.94 kB / 0.6421 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.8512, allocations: 135.2 kB / 0.6422 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.8519, allocations: 377.8 kB / 0.6426 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.852, allocations: 50.34 kB / 0.6426 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.852, allocations: 16 kB / 0.6426 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004852/0.8525, allocations: 277.2 kB / 0.6429 GB, free: 232 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.8531, allocations: 296.7 kB / 0.6432 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8531, allocations: 0 / 0.6432 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.8532, allocations: 4 kB / 0.6432 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.8532, allocations: 8 kB / 0.6432 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.8563, allocations: 2.311 MB / 0.6454 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.8567, allocations: 266.7 kB / 0.6457 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.857, allocations: 135.5 kB / 0.6458 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.857, allocations: 8 kB / 0.6458 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.857, allocations: 30.56 kB / 0.6459 GB, free: 12.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 2.685e-06/0.857, allocations: 3.984 kB / 0.6459 GB, free: 12.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.002036/0.8591, allocations: 0.7007 MB / 0.6465 GB, free: 12.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.8591, allocations: 55.41 kB / 0.6466 GB, free: 12.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.8595, allocations: 353.2 kB / 0.6469 GB, free: 11.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.8595, allocations: 29.7 kB / 0.647 GB, free: 11.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.8597, allocations: 203.6 kB / 0.6472 GB, free: 11.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.8597, allocations: 90.73 kB / 0.6472 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.8598, allocations: 3.938 kB / 0.6472 GB, free: 11.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.8599, allocations: 350.8 kB / 0.6476 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.8601, allocations: 136.3 kB / 0.6477 GB, free: 10.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.8604, allocations: 177.2 kB / 0.6479 GB, free: 10.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.8606, allocations: 152.9 kB / 0.648 GB, free: 10.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8606, allocations: 0 / 0.648 GB, free: 10.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002045/0.8627, allocations: 0.7902 MB / 0.6488 GB, free: 9.848 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8627, allocations: 8 kB / 0.6488 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8627, allocations: 3.938 kB / 0.6488 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.8649, allocations: 0.5784 MB / 0.6494 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.8659, allocations: 187.8 kB / 0.6495 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/0.8715, allocations: 2.659 MB / 0.6521 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.872, allocations: 51.66 kB / 0.6522 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.872, allocations: 16.12 kB / 0.6522 GB, free: 6.23 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.0001618/0.8722, allocations: 125.4 kB / 0.6523 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.8723, allocations: 43.44 kB / 0.6524 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.8743, allocations: 0.7201 MB / 0.6531 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8743, allocations: 4 kB / 0.6531 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.8743, allocations: 0 / 0.6531 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.8743, allocations: 0 / 0.6531 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.8769, allocations: 1.397 MB / 0.6544 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.877, allocations: 0 / 0.6544 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/0.878, allocations: 179.7 kB / 0.6546 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.8805, allocations: 0.6721 MB / 0.6553 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.8805, allocations: 7.984 kB / 0.6553 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.886, allocations: 2.658 MB / 0.6579 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8861, allocations: 0 / 0.6579 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002211/0.8883, allocations: 0.9773 MB / 0.6588 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002539/0.8908, allocations: 1.511 MB / 0.6603 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.891, allocations: 128.5 kB / 0.6604 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.8911, allocations: 4 kB / 0.6604 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.8915, allocations: 27.97 kB / 0.6605 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8916, allocations: 39.94 kB / 0.6605 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.8916, allocations: 7.984 kB / 0.6605 GB, free: 13.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000322/0.8919, allocations: 271.2 kB / 0.6608 GB, free: 13.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001088/0.893, allocations: 135.7 kB / 0.6609 GB, free: 13.08 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.0001897/0.8932, allocations: 115.1 kB / 0.661 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.8957, allocations: 0.6931 MB / 0.6617 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8957, allocations: 0 / 0.6617 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.8978, allocations: 0.5366 MB / 0.6622 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.8981, allocations: 23.95 kB / 0.6622 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.9014, allocations: 0.7731 MB / 0.663 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.9019, allocations: 0.8534 MB / 0.6638 GB, free: 10.01 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9019, allocations: 3.938 kB / 0.6638 GB, free: 10 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)