Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") [: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.003547/0.003547, allocations: 176.4 kB / 7.461 MB, free: 2.488 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.173/1.173, allocations: 221.4 MB / 229.3 MB, free: 3.129 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.0008676/0.0008677, allocations: 99.92 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4398/0.4398, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.363e-06, allocations: 0 / 485.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2944, allocations: 69.52 MB / 0.5419 GB, free: 20.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.4179, allocations: 101.8 MB / 0.6413 GB, free: 2.172 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4182, allocations: 75.95 kB / 0.6413 GB, free: 2.098 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.458/0.8762, allocations: 99.51 MB / 0.7385 GB, free: 69.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002079/0.8765, allocations: 95.92 kB / 0.7386 GB, free: 69.13 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01677/0.8933, allocations: 5.942 MB / 0.7444 GB, free: 63.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.8933, allocations: 8.031 kB / 0.7444 GB, free: 63.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.9117, allocations: 2.924 MB / 0.7473 GB, free: 60.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.9169, allocations: 2.286 MB / 0.7495 GB, free: 57.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006721/0.9176, allocations: 0.8501 MB / 0.7503 GB, free: 56.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006179/0.9182, allocations: 203.9 kB / 0.7505 GB, free: 56.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005911/0.9241, allocations: 3.431 MB / 0.7539 GB, free: 53.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/0.9298, allocations: 3.586 MB / 0.7574 GB, free: 49.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/0.9299, allocations: 7.984 kB / 0.7574 GB, free: 49.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.9302, allocations: 4 kB / 0.7574 GB, free: 49.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.9303, allocations: 84 kB / 0.7575 GB, free: 49.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03232/0.9626, allocations: 18.6 MB / 0.7756 GB, free: 29.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.966, allocations: 2.247 MB / 0.7778 GB, free: 27.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.9689, allocations: 2.104 MB / 0.7799 GB, free: 25.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.9694, allocations: 78.89 kB / 0.7799 GB, free: 25.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.9695, allocations: 73.55 kB / 0.78 GB, free: 25.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 5.591e-06/0.9695, allocations: 0 / 0.78 GB, free: 25.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.05192/1.021, allocations: 18.24 MB / 0.7978 GB, free: 7.012 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/1.022, allocations: 171.5 kB / 0.798 GB, free: 6.812 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/1.027, allocations: 2.436 MB / 0.8004 GB, free: 4.363 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001/1.028, allocations: 25.7 kB / 0.8004 GB, free: 4.332 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000768/1.029, allocations: 1.174 MB / 0.8015 GB, free: 3.141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002922/1.032, allocations: 1.247 MB / 0.8028 GB, free: 1.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008536/1.032, allocations: 0 / 0.8028 GB, free: 1.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002669/1.033, allocations: 437.6 kB / 0.8032 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/1.036, allocations: 1.761 MB / 0.8049 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/1.041, allocations: 2.322 MB / 0.8072 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/1.045, allocations: 1.959 MB / 0.8091 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/1.045, allocations: 4 kB / 0.8091 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.0594/1.104, allocations: 18.32 MB / 0.827 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002717/1.107, allocations: 6.604 MB / 0.8334 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-05/1.107, allocations: 16 kB / 0.8334 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02668/1.134, allocations: 7.129 MB / 0.8404 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.137, allocations: 0.5422 MB / 0.8409 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06082/1.198, allocations: 22.08 MB / 0.8625 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006298/1.205, allocations: 0.6841 MB / 0.8632 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009094/1.206, allocations: 128 kB / 0.8633 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/1.206, allocations: 7.938 kB / 0.8633 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05628/1.262, allocations: 17.84 MB / 0.8807 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.866e-05/1.262, allocations: 20 kB / 0.8807 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02499/1.287, allocations: 7.129 MB / 0.8877 GB, free: 9.887 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/1.29, allocations: 0.5344 MB / 0.8882 GB, free: 9.352 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2558/1.546, allocations: 22.06 MB / 0.9098 GB, free: 174.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005952/1.552, allocations: 0.6499 MB / 0.9104 GB, free: 174.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006457/1.553, allocations: 130.9 kB / 0.9105 GB, free: 174.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 320 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009921/1.554, allocations: 204.6 kB / 0.9107 GB, free: 174.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.555, allocations: 459.6 kB / 0.9112 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05216/1.607, allocations: 18.65 MB / 0.9294 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/1.607, allocations: 39.41 kB / 0.9294 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/1.607, allocations: 28.06 kB / 0.9294 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-05/1.607, allocations: 19.97 kB / 0.9294 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06077/1.668, allocations: 23.56 MB / 0.9525 GB, free: 172.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/1.668, allocations: 2.781 kB / 0.9525 GB, free: 172.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/1.671, allocations: 403 kB / 0.9528 GB, free: 172.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0232/1.694, allocations: 7.181 MB / 0.9599 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008717/1.695, allocations: 18.59 kB / 0.9599 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04868/1.743, allocations: 20.11 MB / 0.9795 GB, free: 166 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.743, allocations: 3.25 kB / 0.9795 GB, free: 166 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05708/1.801, allocations: 21.59 MB / 1.001 GB, free: 150.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.802, allocations: 0.5515 MB / 1.001 GB, free: 150.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008681/1.803, allocations: 8 kB / 1.001 GB, free: 150.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/1.807, allocations: 492.6 kB / 1.002 GB, free: 150.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/1.808, allocations: 450.9 kB / 1.002 GB, free: 149.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003519/1.809, allocations: 99.56 kB / 1.002 GB, free: 149.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002217/1.811, allocations: 1.795 MB / 1.004 GB, free: 148.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005511/1.816, allocations: 2.575 MB / 1.006 GB, free: 145.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004813/1.817, allocations: 158.4 kB / 1.007 GB, free: 145.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03543/1.852, allocations: 13.88 MB / 1.02 GB, free: 133.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.852, allocations: 0 / 1.02 GB, free: 133.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01652/1.869, allocations: 5.781 MB / 1.026 GB, free: 128 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.872, allocations: 246.6 kB / 1.026 GB, free: 127.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.886, allocations: 6.226 MB / 1.032 GB, free: 122.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.888, allocations: 2.65 MB / 1.035 GB, free: 120.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.02e-07/1.888, allocations: 0 / 1.035 GB, free: 120.1 MB / 0.573 GB Notification: Performance of Templates: time 0.1359/2.024, allocations: 113.4 MB / 1.145 GB, free: 21.05 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)