Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001985/0.001985, allocations: 182.3 kB / 7.457 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.143/1.143, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0009657/0.0009657, allocations: 100.4 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.4154/0.4154, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.436e-06, allocations: 4 kB / 485.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2936, allocations: 69.5 MB / 0.5419 GB, free: 20.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4185, allocations: 100.2 MB / 0.6397 GB, free: 3.773 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4188, allocations: 83.89 kB / 0.6398 GB, free: 3.691 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.398/0.8168, allocations: 69.29 MB / 0.7074 GB, free: 96.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003514/0.8172, allocations: 59.38 kB / 0.7075 GB, free: 96.2 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.01457/0.8318, allocations: 4.18 MB / 0.7116 GB, free: 93.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8318, allocations: 10.22 kB / 0.7116 GB, free: 93.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.843, allocations: 1.675 MB / 0.7132 GB, free: 92.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.8479, allocations: 1.645 MB / 0.7148 GB, free: 91.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007505/0.8487, allocations: 0.6829 MB / 0.7155 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000872/0.8496, allocations: 127.7 kB / 0.7156 GB, free: 91.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005323/0.8549, allocations: 2.218 MB / 0.7178 GB, free: 89.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004575/0.8595, allocations: 2.275 MB / 0.72 GB, free: 87.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.8595, allocations: 0 / 0.72 GB, free: 87.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.8598, allocations: 4 kB / 0.72 GB, free: 87.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.8598, allocations: 48 kB / 0.72 GB, free: 87.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.8768, allocations: 9.863 MB / 0.7297 GB, free: 77.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.8799, allocations: 2.022 MB / 0.7317 GB, free: 75.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.8818, allocations: 1.462 MB / 0.7331 GB, free: 73.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.8821, allocations: 41.72 kB / 0.7331 GB, free: 73.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002393/0.8845, allocations: 1.69 MB / 0.7348 GB, free: 72.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.388e-06/0.8845, allocations: 0 / 0.7348 GB, free: 72.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03884/0.9234, allocations: 13.13 MB / 0.7476 GB, free: 58.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.9234, allocations: 184.2 kB / 0.7478 GB, free: 58.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/0.9263, allocations: 1.693 MB / 0.7494 GB, free: 57.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005974/0.9269, allocations: 29.7 kB / 0.7494 GB, free: 57.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.9272, allocations: 0.7035 MB / 0.7501 GB, free: 56.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.9284, allocations: 0.8235 MB / 0.7509 GB, free: 55.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.9286, allocations: 0 / 0.7509 GB, free: 55.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.9287, allocations: 402.9 kB / 0.7513 GB, free: 55.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.9306, allocations: 1.22 MB / 0.7525 GB, free: 53.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.9326, allocations: 1.511 MB / 0.754 GB, free: 52.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.9347, allocations: 1.336 MB / 0.7553 GB, free: 50.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.9347, allocations: 4 kB / 0.7553 GB, free: 50.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03763/0.9723, allocations: 13.09 MB / 0.7681 GB, free: 37.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9724, allocations: 8 kB / 0.7681 GB, free: 37.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.9724, allocations: 4 kB / 0.7681 GB, free: 37.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/0.9894, allocations: 5.188 MB / 0.7732 GB, free: 32.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.9919, allocations: 415.4 kB / 0.7736 GB, free: 32.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03786/1.03, allocations: 15.49 MB / 0.7887 GB, free: 16.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/1.034, allocations: 0.5173 MB / 0.7892 GB, free: 16.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005569/1.035, allocations: 91.95 kB / 0.7893 GB, free: 15.94 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.0007468/1.036, allocations: 213.3 kB / 0.7895 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008161/1.036, allocations: 296.3 kB / 0.7898 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0381/1.075, allocations: 13.4 MB / 0.8028 GB, free: 2.016 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.075, allocations: 24 kB / 0.8029 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/1.075, allocations: 16 kB / 0.8029 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/1.075, allocations: 15.95 kB / 0.8029 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04704/1.122, allocations: 16.69 MB / 0.8192 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/1.122, allocations: 64 / 0.8192 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.124, allocations: 255.6 kB / 0.8194 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/1.14, allocations: 5.158 MB / 0.8245 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005734/1.141, allocations: 19.98 kB / 0.8245 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0411/1.182, allocations: 17.48 MB / 0.8416 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.182, allocations: 3.938 kB / 0.8416 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0459/1.228, allocations: 15.43 MB / 0.8566 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.229, allocations: 408.7 kB / 0.857 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.23, allocations: 11.98 kB / 0.857 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003907/1.234, allocations: 403.7 kB / 0.8574 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.235, allocations: 337.4 kB / 0.8578 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/1.236, allocations: 63.98 kB / 0.8578 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002054/1.238, allocations: 1.264 MB / 0.859 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00341/1.241, allocations: 0.9907 MB / 0.86 GB, free: 6.996 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000534/1.242, allocations: 146.4 kB / 0.8602 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.256, allocations: 5.486 MB / 0.8655 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.256, allocations: 0 / 0.8655 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.269, allocations: 4.207 MB / 0.8696 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/1.271, allocations: 193 kB / 0.8698 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.283, allocations: 4.062 MB / 0.8738 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/1.285, allocations: 1.938 MB / 0.8757 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/1.285, allocations: 0 / 0.8757 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.2607/1.545, allocations: 50.73 MB / 0.9252 GB, free: 209.9 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)