Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-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(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.004607/0.004607, allocations: 179.9 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.2 MB / 213.1 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 87.8 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0648/0.0648, allocations: 12.59 MB / 321.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2768/0.2768, allocations: 78.04 MB / 450.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/8.816e-06, allocations: 0 / 0.5141 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 69.32 MB / 0.5818 GB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.5424, allocations: 94.7 MB / 0.6743 GB, free: 10.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5426, allocations: 82.78 kB / 0.6744 GB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.02587/0.5685, allocations: 9.27 MB / 0.6834 GB, free: 5.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.5686, allocations: 8 kB / 0.6834 GB, free: 5.305 MB / 426.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.001416/0.57, allocations: 0.7372 MB / 0.6842 GB, free: 4.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.57, allocations: 11.97 kB / 0.6842 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.5708, allocations: 138 kB / 0.6843 GB, free: 4.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.5715, allocations: 377.3 kB / 0.6847 GB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.5716, allocations: 50.34 kB / 0.6847 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.5717, allocations: 19.94 kB / 0.6847 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004824/0.5722, allocations: 275.3 kB / 0.685 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.5728, allocations: 299.2 kB / 0.6853 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5728, allocations: 3.906 kB / 0.6853 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.5728, allocations: 0 / 0.6853 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5728, allocations: 8 kB / 0.6853 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.5757, allocations: 2.318 MB / 0.6876 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.5761, allocations: 268 kB / 0.6878 GB, free: 1.375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.5762, allocations: 135.7 kB / 0.6879 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.497e-05/0.5763, allocations: 4 kB / 0.6879 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.5763, allocations: 42.16 kB / 0.688 GB, free: 1.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.913e-06/0.5764, allocations: 7.938 kB / 0.688 GB, free: 1.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.001953/0.5783, allocations: 0.684 MB / 0.6887 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.5783, allocations: 59.41 kB / 0.6887 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.5787, allocations: 359.9 kB / 0.6891 GB, free: 348 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.5787, allocations: 25.7 kB / 0.6891 GB, free: 316 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.5788, allocations: 200.1 kB / 0.6893 GB, free: 136 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.5789, allocations: 80.84 kB / 0.6894 GB, free: 64 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.5789, allocations: 0 / 0.6894 GB, free: 64 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5791, allocations: 355.8 kB / 0.6897 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.5793, allocations: 135.1 kB / 0.6898 GB, free: 15.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.5795, allocations: 187.3 kB / 0.69 GB, free: 15.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.5798, allocations: 145.6 kB / 0.6901 GB, free: 15.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5798, allocations: 0 / 0.6901 GB, free: 15.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00211/0.5819, allocations: 0.7908 MB / 0.6909 GB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5819, allocations: 8 kB / 0.6909 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.582, allocations: 0 / 0.6909 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.5842, allocations: 0.5753 MB / 0.6915 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/0.5852, allocations: 195.8 kB / 0.6917 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/0.5913, allocations: 2.659 MB / 0.6943 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.5918, allocations: 55.56 kB / 0.6943 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.5919, allocations: 18.98 kB / 0.6943 GB, free: 11.71 MB / 442.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.0001902/0.5921, allocations: 116.9 kB / 0.6944 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5922, allocations: 43.44 kB / 0.6945 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.5943, allocations: 0.718 MB / 0.6952 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5943, allocations: 7.906 kB / 0.6952 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5944, allocations: 0 / 0.6952 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5944, allocations: 11.92 kB / 0.6952 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.5972, allocations: 1.397 MB / 0.6966 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5972, allocations: 0 / 0.6966 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5983, allocations: 175.6 kB / 0.6967 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.6009, allocations: 0.6675 MB / 0.6974 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.601, allocations: 3.312 kB / 0.6974 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005775/0.6067, allocations: 2.665 MB / 0.7 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6068, allocations: 0 / 0.7 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002303/0.6091, allocations: 0.9673 MB / 0.7009 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.6093, allocations: 124.2 kB / 0.7011 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.6094, allocations: 3.562 kB / 0.7011 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.6098, allocations: 36.03 kB / 0.7011 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.6099, allocations: 31.62 kB / 0.7011 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.6099, allocations: 11.61 kB / 0.7011 GB, free: 5.754 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003201/0.6103, allocations: 272.8 kB / 0.7014 GB, free: 5.555 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.6108, allocations: 115.8 kB / 0.7015 GB, free: 5.441 MB / 442.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.0001888/0.611, allocations: 115.2 kB / 0.7016 GB, free: 5.316 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.6136, allocations: 0.6927 MB / 0.7023 GB, free: 4.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6136, allocations: 0 / 0.7023 GB, free: 4.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.6158, allocations: 0.5344 MB / 0.7028 GB, free: 4.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.6162, allocations: 23.66 kB / 0.7028 GB, free: 4.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.6203, allocations: 0.7654 MB / 0.7036 GB, free: 3.551 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/0.6211, allocations: 0.8607 MB / 0.7044 GB, free: 2.668 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6211, allocations: 0 / 0.7044 GB, free: 2.668 MB / 442.7 MB Notification: Performance of Templates: time 0.01245/0.6335, allocations: 6.182 MB / 0.7105 GB, free: 12.52 MB / 458.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)