Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [: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.002648/0.002648, allocations: 175.5 kB / 7.451 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.217/1.217, allocations: 221.4 MB / 229.3 MB, free: 3.23 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.0009729/0.0009729, allocations: 97.03 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4073/0.4073, allocations: 78.07 MB / 409 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.821e-06, allocations: 0 / 484.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2564, allocations: 69.35 MB / 0.5407 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.3738, allocations: 98.02 MB / 0.6364 GB, free: 6.793 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3741, allocations: 83.95 kB / 0.6365 GB, free: 6.711 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07639/0.4505, allocations: 25.32 MB / 0.6612 GB, free: 13.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.005e-05/0.4506, allocations: 20 kB / 0.6613 GB, free: 13.17 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005611/0.4563, allocations: 1.844 MB / 0.6631 GB, free: 11.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4563, allocations: 8.031 kB / 0.6631 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.4603, allocations: 0.5875 MB / 0.6636 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.4622, allocations: 0.7442 MB / 0.6644 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/0.4626, allocations: 244.2 kB / 0.6646 GB, free: 9.605 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.4628, allocations: 44 kB / 0.6646 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0019/0.4647, allocations: 0.8163 MB / 0.6654 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4665, allocations: 0.7649 MB / 0.6662 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4665, allocations: 0 / 0.6662 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/0.4666, allocations: 3.906 kB / 0.6662 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.4666, allocations: 16 kB / 0.6662 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007545/0.4742, allocations: 3.475 MB / 0.6696 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4754, allocations: 0.6767 MB / 0.6703 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009264/0.4764, allocations: 0.5555 MB / 0.6708 GB, free: 3.094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.4765, allocations: 16.77 kB / 0.6708 GB, free: 3.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4765, allocations: 47.34 kB / 0.6709 GB, free: 3.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.346e-06/0.4766, allocations: 0 / 0.6709 GB, free: 3.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.1625/0.639, allocations: 4.287 MB / 0.6751 GB, free: 142.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.6391, allocations: 64.09 kB / 0.6751 GB, free: 142.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/0.64, allocations: 0.6729 MB / 0.6758 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.6402, allocations: 25.7 kB / 0.6758 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.6403, allocations: 316.9 kB / 0.6761 GB, free: 142 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.6407, allocations: 327.2 kB / 0.6764 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.6407, allocations: 2.219 kB / 0.6764 GB, free: 141.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.6408, allocations: 345.7 kB / 0.6767 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/0.6416, allocations: 434.3 kB / 0.6772 GB, free: 141.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.6424, allocations: 0.5247 MB / 0.6777 GB, free: 141.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.6432, allocations: 481.4 kB / 0.6781 GB, free: 141.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6432, allocations: 0 / 0.6781 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01272/0.6559, allocations: 4.382 MB / 0.6824 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.656, allocations: 5.375 kB / 0.6824 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.656, allocations: 3.219 kB / 0.6824 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005732/0.6617, allocations: 1.746 MB / 0.6841 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.6627, allocations: 175.6 kB / 0.6843 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.6767, allocations: 6.368 MB / 0.6905 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.6782, allocations: 206.3 kB / 0.6907 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.6783, allocations: 26.56 kB / 0.6907 GB, free: 139.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.6786, allocations: 125.2 kB / 0.6909 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.6788, allocations: 119.9 kB / 0.691 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.6916, allocations: 4.386 MB / 0.6952 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.6917, allocations: 9.938 kB / 0.6953 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6917, allocations: 1.5 kB / 0.6953 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.6917, allocations: 6.797 kB / 0.6953 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.7072, allocations: 5.744 MB / 0.7009 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.7072, allocations: 0 / 0.7009 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009428/0.7082, allocations: 164.6 kB / 0.701 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005753/0.7139, allocations: 1.725 MB / 0.7027 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.7141, allocations: 9.875 kB / 0.7027 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.7268, allocations: 5.643 MB / 0.7082 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7269, allocations: 0 / 0.7082 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01417/0.7411, allocations: 5.167 MB / 0.7133 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.7415, allocations: 209.1 kB / 0.7135 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.7417, allocations: 0 / 0.7135 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.743, allocations: 157.2 kB / 0.7136 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/0.7434, allocations: 134 kB / 0.7138 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/0.7435, allocations: 35.86 kB / 0.7138 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006227/0.7441, allocations: 0.5138 MB / 0.7143 GB, free: 135.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001134/0.7453, allocations: 392.3 kB / 0.7147 GB, free: 135.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.7455, allocations: 137.1 kB / 0.7148 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.7505, allocations: 1.952 MB / 0.7167 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7506, allocations: 0 / 0.7167 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004141/0.7547, allocations: 1.455 MB / 0.7181 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.7553, allocations: 60.08 kB / 0.7182 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.7588, allocations: 1.513 MB / 0.7197 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.7595, allocations: 1.156 MB / 0.7208 GB, free: 132.8 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7595, allocations: 0 / 0.7208 GB, free: 132.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02809/0.7876, allocations: 18.7 MB / 0.7391 GB, free: 127.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)