Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.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.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.003302/0.003302, allocations: 179.8 kB / 7.455 MB, free: 2.5 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.2/1.2, allocations: 221.4 MB / 229.3 MB, free: 3.223 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.0009548/0.0009548, allocations: 96.58 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4076/0.4076, allocations: 78.05 MB / 408.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.451e-06/5.481e-06, allocations: 0 / 484.3 MB, free: 4.398 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2497, allocations: 69.35 MB / 0.5407 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.3603, allocations: 99.5 MB / 0.6379 GB, free: 5.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.3606, allocations: 79.95 kB / 0.638 GB, free: 5.129 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3607/0.7213, allocations: 68.1 MB / 0.7045 GB, free: 97.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003018/0.7216, allocations: 63.38 kB / 0.7045 GB, free: 97.3 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01388/0.7355, allocations: 4.191 MB / 0.7086 GB, free: 94.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.7355, allocations: 9.156 kB / 0.7086 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.7471, allocations: 1.677 MB / 0.7103 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.7509, allocations: 1.643 MB / 0.7119 GB, free: 92.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006045/0.7515, allocations: 0.6818 MB / 0.7125 GB, free: 92.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005654/0.7521, allocations: 128.7 kB / 0.7127 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004613/0.7567, allocations: 2.216 MB / 0.7148 GB, free: 91.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.761, allocations: 2.269 MB / 0.717 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.761, allocations: 4 kB / 0.717 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.7613, allocations: 7.922 kB / 0.717 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.7613, allocations: 50.38 kB / 0.7171 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.7779, allocations: 9.812 MB / 0.7267 GB, free: 80.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.7811, allocations: 2.035 MB / 0.7287 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.7831, allocations: 1.45 MB / 0.7301 GB, free: 76.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.7834, allocations: 41.8 kB / 0.7301 GB, free: 76.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002534/0.7859, allocations: 1.682 MB / 0.7318 GB, free: 75.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.659e-06/0.786, allocations: 0 / 0.7318 GB, free: 75.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.04082/0.8268, allocations: 13.14 MB / 0.7446 GB, free: 61.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.8269, allocations: 184.2 kB / 0.7448 GB, free: 61.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.8293, allocations: 1.693 MB / 0.7464 GB, free: 60.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004422/0.8298, allocations: 25.7 kB / 0.7464 GB, free: 60 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.8301, allocations: 0.7074 MB / 0.7471 GB, free: 59.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.8312, allocations: 0.8273 MB / 0.7479 GB, free: 58.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.8315, allocations: 4.062 kB / 0.7479 GB, free: 58.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.8316, allocations: 398.9 kB / 0.7483 GB, free: 58.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.8336, allocations: 1.216 MB / 0.7495 GB, free: 56.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.8358, allocations: 1.511 MB / 0.751 GB, free: 55.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.8379, allocations: 1.332 MB / 0.7523 GB, free: 53.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.8379, allocations: 4 kB / 0.7523 GB, free: 53.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04049/0.8784, allocations: 13.1 MB / 0.7651 GB, free: 40.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8785, allocations: 4 kB / 0.7651 GB, free: 40.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.8785, allocations: 8 kB / 0.7651 GB, free: 40.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/0.8959, allocations: 5.184 MB / 0.7702 GB, free: 35.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.8985, allocations: 419.4 kB / 0.7706 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03913/0.9376, allocations: 15.49 MB / 0.7857 GB, free: 19.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/0.9423, allocations: 0.5173 MB / 0.7862 GB, free: 18.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/0.9428, allocations: 87.97 kB / 0.7863 GB, free: 18.9 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006384/0.9434, allocations: 226.2 kB / 0.7865 GB, free: 18.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/0.9442, allocations: 292.3 kB / 0.7868 GB, free: 18.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0408/0.985, allocations: 13.4 MB / 0.7999 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/0.9851, allocations: 24 kB / 0.7999 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.9851, allocations: 20 kB / 0.7999 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/0.9852, allocations: 11.95 kB / 0.7999 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04786/1.033, allocations: 16.68 MB / 0.8162 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.033, allocations: 4.062 kB / 0.8162 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.035, allocations: 255.6 kB / 0.8164 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01771/1.053, allocations: 5.189 MB / 0.8215 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006547/1.053, allocations: 15.98 kB / 0.8215 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04315/1.097, allocations: 17.45 MB / 0.8386 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.097, allocations: 0 / 0.8386 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04787/1.144, allocations: 15.43 MB / 0.8536 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.146, allocations: 412.8 kB / 0.854 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/1.146, allocations: 0 / 0.854 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/1.15, allocations: 407.7 kB / 0.8544 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/1.151, allocations: 341.3 kB / 0.8547 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002691/1.151, allocations: 67.98 kB / 0.8548 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001821/1.153, allocations: 1.26 MB / 0.856 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002841/1.156, allocations: 0.9946 MB / 0.857 GB, free: 9.965 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004326/1.156, allocations: 151.9 kB / 0.8572 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01575/1.172, allocations: 5.483 MB / 0.8625 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.172, allocations: 4.188 kB / 0.8625 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01287/1.185, allocations: 4.224 MB / 0.8666 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.187, allocations: 185.5 kB / 0.8668 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.198, allocations: 4.072 MB / 0.8708 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.2, allocations: 1.942 MB / 0.8727 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/1.2, allocations: 0 / 0.8727 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of Templates: time 0.2221/1.422, allocations: 50.7 MB / 0.9222 GB, free: 195.2 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)