Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [: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.002562/0.002562, 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.18/1.18, allocations: 221.4 MB / 229.3 MB, free: 3.102 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.0008836/0.0008839, allocations: 103 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4156/0.4156, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.139e-06/5.159e-06, allocations: 0 / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 69.51 MB / 0.5419 GB, free: 20.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.394, allocations: 100.5 MB / 0.64 GB, free: 3.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.3942, allocations: 75.95 kB / 0.6401 GB, free: 3.395 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3959/0.7902, allocations: 69.77 MB / 0.7082 GB, free: 95.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003049/0.7905, allocations: 59.44 kB / 0.7083 GB, free: 95.86 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01466/0.8052, allocations: 4.217 MB / 0.7124 GB, free: 93.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.8053, allocations: 8.219 kB / 0.7124 GB, free: 93.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.8165, allocations: 1.674 MB / 0.714 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004936/0.8215, allocations: 1.665 MB / 0.7156 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008149/0.8223, allocations: 0.6821 MB / 0.7163 GB, free: 90.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008761/0.8232, allocations: 133.2 kB / 0.7164 GB, free: 90.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005316/0.8285, allocations: 2.221 MB / 0.7186 GB, free: 89.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.833, allocations: 2.29 MB / 0.7208 GB, free: 86.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.8331, allocations: 0 / 0.7208 GB, free: 86.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.8333, allocations: 4 kB / 0.7208 GB, free: 86.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.8334, allocations: 48 kB / 0.7209 GB, free: 86.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01767/0.851, allocations: 9.861 MB / 0.7305 GB, free: 76.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.8543, allocations: 2.046 MB / 0.7325 GB, free: 74.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.8562, allocations: 1.466 MB / 0.7339 GB, free: 73.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.8565, allocations: 45.72 kB / 0.734 GB, free: 73.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.859, allocations: 1.698 MB / 0.7356 GB, free: 71.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 6.472e-06/0.859, allocations: 4 kB / 0.7357 GB, free: 71.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03882/0.8978, allocations: 13.16 MB / 0.7485 GB, free: 58.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.8979, allocations: 192.2 kB / 0.7487 GB, free: 57.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.901, allocations: 1.729 MB / 0.7504 GB, free: 56.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007993/0.9018, allocations: 25.7 kB / 0.7504 GB, free: 56.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.9022, allocations: 0.7076 MB / 0.7511 GB, free: 55.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.9038, allocations: 0.8313 MB / 0.7519 GB, free: 54.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.9041, allocations: 0 / 0.7519 GB, free: 54.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.9042, allocations: 395 kB / 0.7523 GB, free: 54.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.9062, allocations: 1.231 MB / 0.7535 GB, free: 53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.9082, allocations: 1.523 MB / 0.755 GB, free: 51.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.9102, allocations: 1.34 MB / 0.7563 GB, free: 50.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9102, allocations: 4 kB / 0.7563 GB, free: 50 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03789/0.9481, allocations: 13.12 MB / 0.7691 GB, free: 36.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9482, allocations: 4 kB / 0.7691 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.9482, allocations: 11.91 kB / 0.7691 GB, free: 36.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01684/0.9651, allocations: 5.216 MB / 0.7742 GB, free: 31.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.9678, allocations: 435.4 kB / 0.7746 GB, free: 31.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03727/1.005, allocations: 15.47 MB / 0.7897 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.01, allocations: 0.5173 MB / 0.7902 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/1.01, allocations: 95.97 kB / 0.7903 GB, free: 15 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006573/1.011, allocations: 213.2 kB / 0.7905 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006736/1.011, allocations: 296.3 kB / 0.7908 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03856/1.05, allocations: 13.43 MB / 0.8039 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/1.05, allocations: 24 kB / 0.8039 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.05, allocations: 16 kB / 0.804 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/1.05, allocations: 23.88 kB / 0.804 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04783/1.098, allocations: 16.73 MB / 0.8203 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.098, allocations: 4.062 kB / 0.8203 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/1.1, allocations: 247.7 kB / 0.8206 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01719/1.117, allocations: 5.199 MB / 0.8256 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006193/1.118, allocations: 15.98 kB / 0.8256 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/1.16, allocations: 17.47 MB / 0.8427 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.16, allocations: 0 / 0.8427 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04814/1.208, allocations: 15.47 MB / 0.8578 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.21, allocations: 416.7 kB / 0.8582 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.211, allocations: 4 kB / 0.8582 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004442/1.216, allocations: 411.7 kB / 0.8586 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001358/1.217, allocations: 337.4 kB / 0.8589 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005145/1.218, allocations: 63.98 kB / 0.859 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002456/1.22, allocations: 1.296 MB / 0.8603 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004338/1.224, allocations: 0.9985 MB / 0.8612 GB, free: 5.766 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006594/1.225, allocations: 155.8 kB / 0.8614 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0164/1.242, allocations: 5.51 MB / 0.8668 GB, free: 24 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.242, allocations: 0.6875 kB / 0.8668 GB, free: 24 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/1.255, allocations: 4.23 MB / 0.8709 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.258, allocations: 198.7 kB / 0.8711 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.272, allocations: 4.174 MB / 0.8752 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/1.274, allocations: 1.95 MB / 0.8771 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/1.274, allocations: 0 / 0.8771 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of Templates: time 0.2157/1.49, allocations: 51.11 MB / 0.927 GB, free: 210.4 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)