Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") [: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.002427/0.002427, allocations: 177.6 kB / 7.457 MB, free: 2.234 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.181/1.181, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.000859/0.0008589, allocations: 99.42 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4253/0.4253, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.386e-06, allocations: 4 kB / 485.4 MB, free: 3.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 69.5 MB / 0.5419 GB, free: 20.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4323, allocations: 98.55 MB / 0.6381 GB, free: 5.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4325, allocations: 75.95 kB / 0.6382 GB, free: 5.395 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3955/0.828, allocations: 61.05 MB / 0.6978 GB, free: 98.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.8282, allocations: 50.25 kB / 0.6978 GB, free: 98.15 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01129/0.8395, allocations: 3.897 MB / 0.7016 GB, free: 96.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8396, allocations: 7.812 kB / 0.7016 GB, free: 96.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.8503, allocations: 1.638 MB / 0.7032 GB, free: 96.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.8539, allocations: 1.471 MB / 0.7047 GB, free: 96.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005813/0.8545, allocations: 0.6242 MB / 0.7053 GB, free: 95.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004167/0.8549, allocations: 119.1 kB / 0.7054 GB, free: 95.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004413/0.8593, allocations: 2.078 MB / 0.7074 GB, free: 94.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.8636, allocations: 2.139 MB / 0.7095 GB, free: 94.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.8637, allocations: 4 kB / 0.7095 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.8639, allocations: 0.8125 kB / 0.7095 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.8639, allocations: 47.64 kB / 0.7096 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.8826, allocations: 9.517 MB / 0.7189 GB, free: 87.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/0.8862, allocations: 1.931 MB / 0.7208 GB, free: 86.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.888, allocations: 1.362 MB / 0.7221 GB, free: 84.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.8883, allocations: 41.8 kB / 0.7221 GB, free: 84.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8884, allocations: 52.56 kB / 0.7222 GB, free: 84.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.93e-06/0.8884, allocations: 0 / 0.7222 GB, free: 84.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.0371/0.9255, allocations: 12.72 MB / 0.7346 GB, free: 72.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.9256, allocations: 124.8 kB / 0.7347 GB, free: 71.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.9284, allocations: 1.483 MB / 0.7362 GB, free: 70.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.929, allocations: 25.7 kB / 0.7362 GB, free: 70.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.9294, allocations: 0.6554 MB / 0.7368 GB, free: 69.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0014/0.9308, allocations: 0.758 MB / 0.7376 GB, free: 68.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.9312, allocations: 4 kB / 0.7376 GB, free: 68.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9314, allocations: 386.2 kB / 0.7379 GB, free: 68.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.9333, allocations: 1.121 MB / 0.739 GB, free: 67.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.9354, allocations: 1.401 MB / 0.7404 GB, free: 65.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.9375, allocations: 1.226 MB / 0.7416 GB, free: 64.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.9375, allocations: 4 kB / 0.7416 GB, free: 64.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03739/0.9749, allocations: 12.82 MB / 0.7541 GB, free: 51.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004627/0.9754, allocations: 2.729 MB / 0.7568 GB, free: 48.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.9755, allocations: 4 kB / 0.7568 GB, free: 48.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01686/0.9923, allocations: 5.195 MB / 0.7619 GB, free: 43.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.9942, allocations: 323.5 kB / 0.7622 GB, free: 43.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0379/1.032, allocations: 15.49 MB / 0.7773 GB, free: 27.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/1.036, allocations: 485.9 kB / 0.7778 GB, free: 27.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005382/1.037, allocations: 79.97 kB / 0.7778 GB, free: 27.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.037, allocations: 7.938 kB / 0.7778 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03721/1.074, allocations: 12.51 MB / 0.7901 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/1.074, allocations: 14.31 kB / 0.7901 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/1.091, allocations: 5.188 MB / 0.7951 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.093, allocations: 307.6 kB / 0.7954 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04014/1.133, allocations: 15.49 MB / 0.8106 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.137, allocations: 458.1 kB / 0.811 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005541/1.137, allocations: 71.98 kB / 0.8111 GB, free: 9.18 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009516/1.138, allocations: 158.4 kB / 0.8112 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009334/1.139, allocations: 272.6 kB / 0.8115 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04123/1.18, allocations: 12.95 MB / 0.8241 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/1.18, allocations: 24 kB / 0.8241 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/1.181, allocations: 16 kB / 0.8242 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-05/1.181, allocations: 15.95 kB / 0.8242 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0487/1.229, allocations: 16.12 MB / 0.8399 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/1.229, allocations: 4 kB / 0.8399 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/1.231, allocations: 259.6 kB / 0.8402 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01669/1.248, allocations: 4.994 MB / 0.8451 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007023/1.249, allocations: 15.98 kB / 0.8451 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03881/1.288, allocations: 13.69 MB / 0.8584 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.288, allocations: 4 kB / 0.8584 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04682/1.334, allocations: 14.91 MB / 0.873 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.336, allocations: 369.2 kB / 0.8733 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.337, allocations: 7.906 kB / 0.8734 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003795/1.341, allocations: 363.7 kB / 0.8737 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/1.342, allocations: 309.4 kB / 0.874 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000507/1.342, allocations: 63.98 kB / 0.8741 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002192/1.345, allocations: 1.102 MB / 0.8751 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006207/1.351, allocations: 1.529 MB / 0.8766 GB, free: 5.809 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (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.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006493/1.352, allocations: 150.8 kB / 0.8768 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02759/1.379, allocations: 9.121 MB / 0.8857 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.379, allocations: 0 / 0.8857 GB, free: 12.51 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01235/1.392, allocations: 3.82 MB / 0.8894 GB, free: 8.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/1.394, allocations: 148.1 kB / 0.8896 GB, free: 8.531 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.409, allocations: 4.084 MB / 0.8935 GB, free: 4.379 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002628/1.412, allocations: 1.819 MB / 0.8953 GB, free: 2.523 MB / 0.573 GB Notification: Performance of SimCode: time 1.342e-06/1.412, allocations: 0 / 0.8953 GB, free: 2.523 MB / 0.573 GB Notification: Performance of Templates: time 0.3142/1.726, allocations: 73.24 MB / 0.9668 GB, free: 200.9 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)