Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") [: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.001795/0.001795, allocations: 183.9 kB / 7.459 MB, free: 2.52 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.038/1.038, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0007878/0.0007879, allocations: 96.19 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3706/0.3706, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.68e-06/5.861e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 69.35 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3415, allocations: 98.57 MB / 0.637 GB, free: 6.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3417, allocations: 75.95 kB / 0.6371 GB, free: 6.293 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06337/0.4051, allocations: 25.01 MB / 0.6615 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.507e-05/0.4052, allocations: 24 kB / 0.6615 GB, free: 13.07 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004693/0.4099, allocations: 1.77 MB / 0.6633 GB, free: 11.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.41, allocations: 8.031 kB / 0.6633 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.4134, allocations: 0.5876 MB / 0.6638 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.4151, allocations: 0.7594 MB / 0.6646 GB, free: 9.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.4154, allocations: 244.1 kB / 0.6648 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4156, allocations: 40 kB / 0.6649 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001651/0.4172, allocations: 0.8163 MB / 0.6657 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.4187, allocations: 0.8408 MB / 0.6665 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4188, allocations: 0 / 0.6665 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.4189, allocations: 0 / 0.6665 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.4189, allocations: 20 kB / 0.6665 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.4248, allocations: 3.416 MB / 0.6698 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.4258, allocations: 0.5837 MB / 0.6704 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.4266, allocations: 0.5421 MB / 0.6709 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.4267, allocations: 16.77 kB / 0.6709 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.4268, allocations: 43.34 kB / 0.671 GB, free: 3.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.264e-06/0.4268, allocations: 3.938 kB / 0.671 GB, free: 3.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.1425/0.5693, allocations: 4.239 MB / 0.6751 GB, free: 142.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5694, allocations: 90.98 kB / 0.6752 GB, free: 142.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.5702, allocations: 0.7037 MB / 0.6759 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.5704, allocations: 25.7 kB / 0.6759 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5705, allocations: 313 kB / 0.6762 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.5708, allocations: 304.9 kB / 0.6765 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.5708, allocations: 0 / 0.6765 GB, free: 141.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.5709, allocations: 334.9 kB / 0.6768 GB, free: 141.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.5715, allocations: 431.5 kB / 0.6773 GB, free: 141.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.5721, allocations: 0.5173 MB / 0.6778 GB, free: 141.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.5728, allocations: 474.7 kB / 0.6782 GB, free: 141.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5728, allocations: 0 / 0.6782 GB, free: 141.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01114/0.5839, allocations: 4.325 MB / 0.6824 GB, free: 141.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.5841, allocations: 0.7899 MB / 0.6832 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5841, allocations: 4 kB / 0.6832 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.5892, allocations: 1.751 MB / 0.6849 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.59, allocations: 148.5 kB / 0.6851 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.6021, allocations: 6.358 MB / 0.6913 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6034, allocations: 199.4 kB / 0.6915 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/0.6035, allocations: 24.94 kB / 0.6915 GB, free: 138.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.6036, allocations: 3.281 kB / 0.6915 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01123/0.6148, allocations: 4.187 MB / 0.6956 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6148, allocations: 3.938 kB / 0.6956 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/0.6203, allocations: 1.747 MB / 0.6973 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.621, allocations: 146.2 kB / 0.6974 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.6338, allocations: 6.369 MB / 0.7036 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.6352, allocations: 184.9 kB / 0.7038 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.6353, allocations: 27.25 kB / 0.7038 GB, free: 136.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.6355, allocations: 124.8 kB / 0.704 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.6357, allocations: 116.2 kB / 0.7041 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.6472, allocations: 4.345 MB / 0.7083 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.6473, allocations: 14.53 kB / 0.7083 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6473, allocations: 0 / 0.7083 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.6473, allocations: 3.375 kB / 0.7083 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.6596, allocations: 5.693 MB / 0.7139 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6596, allocations: 0 / 0.7139 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.6602, allocations: 117.8 kB / 0.714 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004777/0.665, allocations: 1.725 MB / 0.7157 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/0.6651, allocations: 2.625 kB / 0.7157 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.6757, allocations: 5.677 MB / 0.7212 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6758, allocations: 3.953 kB / 0.7212 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01251/0.6883, allocations: 5.081 MB / 0.7262 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.6886, allocations: 198.6 kB / 0.7264 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.6888, allocations: 8.391 kB / 0.7264 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6899, allocations: 147 kB / 0.7265 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.6902, allocations: 121.8 kB / 0.7267 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/0.6903, allocations: 22.17 kB / 0.7267 GB, free: 130.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006163/0.6909, allocations: 0.5415 MB / 0.7272 GB, free: 130.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001483/0.6924, allocations: 0.5975 MB / 0.7278 GB, free: 130.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0002227/0.6926, allocations: 143.8 kB / 0.7279 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008764/0.7014, allocations: 3.43 MB / 0.7313 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7014, allocations: 0 / 0.7313 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003891/0.7053, allocations: 1.429 MB / 0.7327 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.7063, allocations: 68.67 kB / 0.7327 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.7109, allocations: 1.622 MB / 0.7343 GB, free: 126.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000666/0.7115, allocations: 1.148 MB / 0.7354 GB, free: 125.1 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7115, allocations: 0 / 0.7354 GB, free: 125.1 MB / 490.7 MB Notification: Performance of Templates: time 0.03329/0.7448, allocations: 28.85 MB / 0.7636 GB, free: 104 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)