Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.003456/0.003456, allocations: 180.2 kB / 7.456 MB, free: 2.512 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.27/1.27, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0009376/0.0009376, allocations: 102.3 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4295/0.4295, allocations: 78.91 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.324e-06, allocations: 0 / 485.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2834, allocations: 69.5 MB / 0.5419 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.395, allocations: 98.72 MB / 0.6383 GB, free: 5.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3952, allocations: 75.95 kB / 0.6383 GB, free: 5.152 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07034/0.4656, allocations: 26 MB / 0.6637 GB, free: 10.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.794e-05/0.4657, allocations: 24 kB / 0.6637 GB, free: 10.92 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.005237/0.471, allocations: 1.848 MB / 0.6656 GB, free: 9.027 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.471, allocations: 8.031 kB / 0.6656 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/0.4748, allocations: 0.5836 MB / 0.6661 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.4767, allocations: 0.7441 MB / 0.6669 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.4771, allocations: 244.2 kB / 0.6671 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.4773, allocations: 44 kB / 0.6671 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001779/0.4791, allocations: 0.8163 MB / 0.6679 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.4807, allocations: 0.7649 MB / 0.6687 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.4807, allocations: 0 / 0.6687 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.4808, allocations: 3.906 kB / 0.6687 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.4809, allocations: 16 kB / 0.6687 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007393/0.4883, allocations: 3.503 MB / 0.6721 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.4894, allocations: 0.6845 MB / 0.6728 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008915/0.4904, allocations: 0.5511 MB / 0.6733 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.4905, allocations: 16.77 kB / 0.6733 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4905, allocations: 47.33 kB / 0.6734 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.585e-06/0.4905, allocations: 0 / 0.6734 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.1699/0.6604, allocations: 4.266 MB / 0.6776 GB, free: 142.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.6605, allocations: 70.8 kB / 0.6776 GB, free: 142.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.6614, allocations: 0.6756 MB / 0.6783 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.6615, allocations: 25.7 kB / 0.6783 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.6617, allocations: 312.6 kB / 0.6786 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.662, allocations: 334.4 kB / 0.6789 GB, free: 142 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.6621, allocations: 0 / 0.6789 GB, free: 142 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.6622, allocations: 343.6 kB / 0.6792 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/0.6629, allocations: 435.5 kB / 0.6797 GB, free: 141.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/0.6637, allocations: 0.527 MB / 0.6802 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.6644, allocations: 472 kB / 0.6806 GB, free: 141.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6644, allocations: 0 / 0.6806 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01226/0.6767, allocations: 4.387 MB / 0.6849 GB, free: 141.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6768, allocations: 7.25 kB / 0.6849 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6768, allocations: 3.906 kB / 0.6849 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/0.6822, allocations: 1.736 MB / 0.6866 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.683, allocations: 173.6 kB / 0.6868 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.6959, allocations: 6.365 MB / 0.693 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6973, allocations: 205.6 kB / 0.6932 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.6975, allocations: 35.84 kB / 0.6932 GB, free: 139.5 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.0002628/0.6977, allocations: 124.7 kB / 0.6933 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.698, allocations: 119.8 kB / 0.6935 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.7104, allocations: 4.383 MB / 0.6977 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.7104, allocations: 10.41 kB / 0.6978 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7104, allocations: 0 / 0.6978 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.7104, allocations: 3.75 kB / 0.6978 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.7246, allocations: 5.743 MB / 0.7034 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.7246, allocations: 1.375 kB / 0.7034 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/0.7254, allocations: 156.5 kB / 0.7035 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005484/0.7309, allocations: 1.728 MB / 0.7052 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.7311, allocations: 0 / 0.7052 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.743, allocations: 5.648 MB / 0.7107 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.743, allocations: 4 kB / 0.7107 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.013/0.756, allocations: 5.141 MB / 0.7157 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.7564, allocations: 206.5 kB / 0.7159 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.7567, allocations: 7 kB / 0.7159 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.7579, allocations: 155.8 kB / 0.7161 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.7583, allocations: 136.3 kB / 0.7162 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.7584, allocations: 18.59 kB / 0.7162 GB, free: 135.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006087/0.759, allocations: 0.5243 MB / 0.7168 GB, free: 135.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001077/0.7601, allocations: 387.2 kB / 0.7171 GB, free: 135.2 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.0002392/0.7603, allocations: 132.7 kB / 0.7172 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004795/0.7651, allocations: 1.95 MB / 0.7192 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7651, allocations: 0 / 0.7192 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003956/0.7691, allocations: 1.458 MB / 0.7206 GB, free: 134 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.7696, allocations: 54.83 kB / 0.7206 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.7733, allocations: 1.509 MB / 0.7221 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008046/0.7741, allocations: 1.16 MB / 0.7232 GB, free: 132.5 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7742, allocations: 0 / 0.7232 GB, free: 132.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02611/0.8003, allocations: 18.7 MB / 0.7415 GB, free: 125.8 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)