Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 180 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 111.7 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.424/0.424, allocations: 78.48 MB / 418.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 497.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2531, allocations: 68.13 MB / 0.5523 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01423/0.2674, allocations: 23.42 MB / 0.5752 GB, free: 12.69 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.2782, allocations: 5.153 MB / 0.5802 GB, free: 7.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004216/0.2824, allocations: 52 kB / 0.5803 GB, free: 7.469 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.2854, allocations: 0.6751 MB / 0.5809 GB, free: 6.789 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00723/0.2927, allocations: 1.748 MB / 0.5826 GB, free: 5.035 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005575/0.2983, allocations: 1.922 MB / 0.5845 GB, free: 3.145 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008348/0.3066, allocations: 5.545 MB / 0.5899 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.3094, allocations: 1.151 MB / 0.591 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.3132, allocations: 2.189 MB / 0.5932 GB, free: 10.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/0.3176, allocations: 2.846 MB / 0.596 GB, free: 7.312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.3195, allocations: 288 kB / 0.5962 GB, free: 7.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.3221, allocations: 431.9 kB / 0.5966 GB, free: 6.609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.324, allocations: 1.01 MB / 0.5976 GB, free: 5.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00411/0.3281, allocations: 2.473 MB / 0.6 GB, free: 3.105 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006466/0.3346, allocations: 6.032 MB / 0.6059 GB, free: 13.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3347, allocations: 0 / 0.6059 GB, free: 13.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3347, allocations: 0 / 0.6059 GB, free: 13.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001368/0.3348, allocations: 0 / 0.6059 GB, free: 13.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03012/0.3649, allocations: 9.217 MB / 0.6149 GB, free: 3.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.365, allocations: 8.031 kB / 0.6149 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02538/0.3904, allocations: 4.016 MB / 0.6189 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.3954, allocations: 2.674 MB / 0.6215 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008235/0.3963, allocations: 0.9572 MB / 0.6224 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007134/0.397, allocations: 355.9 kB / 0.6227 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009022/0.406, allocations: 4.739 MB / 0.6274 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.395e-05/0.4061, allocations: 3.938 kB / 0.6274 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/0.4065, allocations: 144 kB / 0.6275 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.4065, allocations: 84 kB / 0.6276 GB, free: 6.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008691/0.4152, allocations: 4.248 MB / 0.6317 GB, free: 2.258 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03352/0.4488, allocations: 18.39 MB / 0.6497 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.4614, allocations: 5.014 MB / 0.6546 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006186/0.4677, allocations: 2.79 MB / 0.6573 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/0.4682, allocations: 66.94 kB / 0.6574 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006918/0.4751, allocations: 3.185 MB / 0.6605 GB, free: 3.484 MB / 474.7 MB Notification: Performance of pre-optimization done (n=384): time 5.65e-06/0.4752, allocations: 3.938 kB / 0.6605 GB, free: 3.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=384): time 0.4951/0.9703, allocations: 67.76 MB / 0.7267 GB, free: 81.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.9704, allocations: 145.8 kB / 0.7268 GB, free: 81.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.9738, allocations: 3.255 MB / 0.73 GB, free: 78.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007003/0.9745, allocations: 89.7 kB / 0.7301 GB, free: 78.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008846/0.9754, allocations: 1.979 MB / 0.732 GB, free: 76.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.9765, allocations: 1.32 MB / 0.7333 GB, free: 75.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.9777, allocations: 0.6783 MB / 0.734 GB, free: 74.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.436e-05/0.9777, allocations: 305.1 kB / 0.7343 GB, free: 74.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/0.9826, allocations: 2.605 MB / 0.7368 GB, free: 71.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005148/0.9878, allocations: 3.233 MB / 0.74 GB, free: 68.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06519/1.053, allocations: 19 MB / 0.7585 GB, free: 48.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.053, allocations: 4 kB / 0.7585 GB, free: 48.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05367/1.107, allocations: 17.3 MB / 0.7754 GB, free: 31.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/1.107, allocations: 63.41 kB / 0.7755 GB, free: 31.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.107, allocations: 16 kB / 0.7755 GB, free: 31.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02418/1.131, allocations: 7.15 MB / 0.7825 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/1.135, allocations: 0.6904 MB / 0.7831 GB, free: 23.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07916/1.214, allocations: 30.65 MB / 0.8131 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/1.22, allocations: 0.6212 MB / 0.8137 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007756/1.22, allocations: 148 kB / 0.8138 GB, free: 8.117 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001857/1.222, allocations: 0.6822 MB / 0.8145 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.223, allocations: 458.4 kB / 0.8149 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05865/1.282, allocations: 16.87 MB / 0.8314 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/1.282, allocations: 40 kB / 0.8314 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.102e-05/1.282, allocations: 28 kB / 0.8315 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.084e-05/1.282, allocations: 19.92 kB / 0.8315 GB, free: 5.945 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06292/1.345, allocations: 21.88 MB / 0.8529 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/1.345, allocations: 4 kB / 0.8529 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/1.348, allocations: 387.5 kB / 0.8532 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0265/1.374, allocations: 7.377 MB / 0.8604 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/1.375, allocations: 75.98 kB / 0.8605 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07597/1.451, allocations: 28.92 MB / 0.8887 GB, free: 10.92 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.451, allocations: 1.969 kB / 0.8887 GB, free: 10.92 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5732/2.024, allocations: 124.9 MB / 1.011 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/2.026, allocations: 0.5641 MB / 1.011 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/2.028, allocations: 60 kB / 1.011 GB, free: 105.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005323/2.033, allocations: 383.5 kB / 1.012 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003744/2.037, allocations: 0.7646 MB / 1.012 GB, free: 103.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008181/2.037, allocations: 91.98 kB / 1.013 GB, free: 103.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003737/2.041, allocations: 2.141 MB / 1.015 GB, free: 101.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.41e-07/2.041, allocations: 0 / 1.015 GB, free: 101.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01004/2.051, allocations: 2.493 MB / 1.017 GB, free: 99.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/2.053, allocations: 187.8 kB / 1.017 GB, free: 98.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02731/2.08, allocations: 9.19 MB / 1.026 GB, free: 89.75 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.08, allocations: 1.938 kB / 1.026 GB, free: 89.75 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0201/2.1, allocations: 6.193 MB / 1.032 GB, free: 83.51 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/2.106, allocations: 390.4 kB / 1.033 GB, free: 83.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03611/2.142, allocations: 14.85 MB / 1.047 GB, free: 68.18 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003413/2.145, allocations: 2.594 MB / 1.05 GB, free: 65.55 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002326/2.147, allocations: 383.1 kB / 1.05 GB, free: 65.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/2.149, allocations: 239.4 kB / 1.05 GB, free: 64.94 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/2.149, allocations: 0 / 1.05 GB, free: 64.94 MB / 0.573 GB Notification: Performance of Templates: time 0.3626/2.511, allocations: 121.4 MB / 1.169 GB, free: 144.3 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)