Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002742/0.002742, allocations: 177 kB / 7.452 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.275/1.275, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0009162/0.0009162, allocations: 96.95 kB / 261.1 MB, free: 13.53 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.06786/0.06786, allocations: 12.59 MB / 321.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2826/0.2826, allocations: 78.05 MB / 450.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.29e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1584, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.62, allocations: 100.2 MB / 0.6797 GB, free: 8.035 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.6203, allocations: 79.95 kB / 0.6797 GB, free: 7.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06785/0.6881, allocations: 24.28 MB / 0.7034 GB, free: 4.082 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.928e-05/0.6883, allocations: 16 kB / 0.7035 GB, free: 4.066 MB / 442.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.006069/0.6943, allocations: 1.772 MB / 0.7052 GB, free: 2.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.6944, allocations: 11.97 kB / 0.7052 GB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.6988, allocations: 0.5775 MB / 0.7058 GB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.7015, allocations: 0.7663 MB / 0.7065 GB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.702, allocations: 244.1 kB / 0.7067 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/0.7025, allocations: 43.91 kB / 0.7068 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002338/0.7048, allocations: 0.8294 MB / 0.7076 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.7069, allocations: 0.8331 MB / 0.7084 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7069, allocations: 0 / 0.7084 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.707, allocations: 0 / 0.7084 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.7071, allocations: 20 kB / 0.7084 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007305/0.7144, allocations: 3.421 MB / 0.7118 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.7154, allocations: 0.5798 MB / 0.7123 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.7161, allocations: 0.5344 MB / 0.7129 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.7163, allocations: 16.77 kB / 0.7129 GB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7163, allocations: 42.53 kB / 0.7129 GB, free: 12.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/0.7163, allocations: 4 kB / 0.7129 GB, free: 12.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01291/0.7292, allocations: 4.236 MB / 0.717 GB, free: 8.703 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.7293, allocations: 93.83 kB / 0.7171 GB, free: 8.594 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.7305, allocations: 0.7113 MB / 0.7178 GB, free: 8.055 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.7307, allocations: 25.7 kB / 0.7179 GB, free: 8.023 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.7309, allocations: 311.6 kB / 0.7182 GB, free: 7.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.7313, allocations: 300.5 kB / 0.7184 GB, free: 7.496 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.7314, allocations: 0 / 0.7184 GB, free: 7.496 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7315, allocations: 336.8 kB / 0.7188 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.7323, allocations: 424.7 kB / 0.7192 GB, free: 6.961 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/0.733, allocations: 0.5233 MB / 0.7197 GB, free: 6.621 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.7338, allocations: 471.2 kB / 0.7201 GB, free: 6.363 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.7338, allocations: 7.938 kB / 0.7201 GB, free: 6.355 MB / 458.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01334/0.7472, allocations: 4.316 MB / 0.7244 GB, free: 2.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005451/0.7478, allocations: 0.7941 MB / 0.7251 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.7478, allocations: 0 / 0.7251 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006392/0.7542, allocations: 1.748 MB / 0.7268 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.7552, allocations: 147.4 kB / 0.727 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/0.7701, allocations: 6.38 MB / 0.7332 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.772, allocations: 195.2 kB / 0.7334 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7721, allocations: 31 kB / 0.7334 GB, free: 11.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.7721, allocations: 7.906 kB / 0.7334 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0132/0.7853, allocations: 4.179 MB / 0.7375 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.7854, allocations: 3.984 kB / 0.7375 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006149/0.7915, allocations: 1.749 MB / 0.7392 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.7924, allocations: 143.8 kB / 0.7394 GB, free: 5.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.8074, allocations: 6.368 MB / 0.7456 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.8092, allocations: 179.2 kB / 0.7457 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.8093, allocations: 28 kB / 0.7458 GB, free: 14.87 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.0004033/0.8097, allocations: 129.2 kB / 0.7459 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.81, allocations: 110.6 kB / 0.746 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.8235, allocations: 4.34 MB / 0.7502 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.8235, allocations: 8 kB / 0.7502 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8235, allocations: 7.984 kB / 0.7503 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/0.8236, allocations: 11.89 kB / 0.7503 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.8391, allocations: 5.679 MB / 0.7558 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.8392, allocations: 0 / 0.7558 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008844/0.8401, allocations: 115.9 kB / 0.7559 GB, free: 4.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005899/0.846, allocations: 1.734 MB / 0.7576 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.8462, allocations: 7.938 kB / 0.7576 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.8595, allocations: 5.664 MB / 0.7632 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.8595, allocations: 0 / 0.7632 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0145/0.874, allocations: 5.08 MB / 0.7681 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/0.8748, allocations: 215.3 kB / 0.7683 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.875, allocations: 0 / 0.7683 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.8762, allocations: 147.9 kB / 0.7685 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.8766, allocations: 120.6 kB / 0.7686 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.8767, allocations: 20 kB / 0.7686 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008281/0.8775, allocations: 0.5452 MB / 0.7691 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002012/0.8795, allocations: 0.5966 MB / 0.7697 GB, free: 6.062 MB / 0.4948 GB 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.0003418/0.8799, allocations: 135 kB / 0.7698 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0103/0.8902, allocations: 3.428 MB / 0.7732 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8903, allocations: 0 / 0.7732 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/0.8947, allocations: 1.429 MB / 0.7746 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/0.8957, allocations: 83.59 kB / 0.7747 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.9016, allocations: 1.628 MB / 0.7763 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.9027, allocations: 1.146 MB / 0.7774 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/0.9027, allocations: 0 / 0.7774 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.05054/0.9532, allocations: 28.87 MB / 0.8056 GB, free: 1.23 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)