Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 182.1 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.225/1.225, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009833/0.0009833, allocations: 104.9 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4228/0.4228, allocations: 78.47 MB / 418.5 MB, free: 8.812 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 75.88 kB / 497.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2325, allocations: 68.12 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.0137/0.2463, allocations: 23.32 MB / 0.5751 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009778/0.2561, allocations: 5.129 MB / 0.5801 GB, free: 7.676 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.2592, allocations: 52 kB / 0.5801 GB, free: 7.625 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.2608, allocations: 0.6713 MB / 0.5808 GB, free: 6.949 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.2653, allocations: 1.729 MB / 0.5825 GB, free: 5.211 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.2694, allocations: 1.91 MB / 0.5844 GB, free: 3.332 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00568/0.2751, allocations: 5.502 MB / 0.5897 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.2765, allocations: 1.147 MB / 0.5908 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.2788, allocations: 2.177 MB / 0.593 GB, free: 10.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.2813, allocations: 2.811 MB / 0.5957 GB, free: 7.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005052/0.2818, allocations: 284 kB / 0.596 GB, free: 7.316 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/0.2828, allocations: 427.9 kB / 0.5964 GB, free: 6.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007249/0.2835, allocations: 0.9988 MB / 0.5974 GB, free: 5.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.2854, allocations: 2.465 MB / 0.5998 GB, free: 3.414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.2899, allocations: 5.973 MB / 0.6056 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2899, allocations: 0 / 0.6056 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2899, allocations: 0 / 0.6056 GB, free: 13.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.797e-05/0.29, allocations: 0 / 0.6056 GB, free: 13.42 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02812/0.3181, allocations: 9.162 MB / 0.6146 GB, free: 4.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3181, allocations: 16.03 kB / 0.6146 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02559/0.3437, allocations: 4.001 MB / 0.6185 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.3483, allocations: 2.643 MB / 0.6211 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009017/0.3493, allocations: 0.9689 MB / 0.622 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007195/0.35, allocations: 344 kB / 0.6223 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009416/0.3594, allocations: 4.727 MB / 0.627 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.3595, allocations: 3.938 kB / 0.627 GB, free: 7.207 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003987/0.3599, allocations: 140 kB / 0.6271 GB, free: 7.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.36, allocations: 84 kB / 0.6272 GB, free: 6.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008921/0.3689, allocations: 4.248 MB / 0.6313 GB, free: 2.734 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.03373/0.4026, allocations: 18.33 MB / 0.6492 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.4154, allocations: 5.003 MB / 0.6541 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005683/0.4211, allocations: 2.78 MB / 0.6568 GB, free: 7.344 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.4216, allocations: 66.91 kB / 0.6569 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006419/0.4281, allocations: 3.173 MB / 0.66 GB, free: 4.062 MB / 474.7 MB Notification: Performance of pre-optimization done (n=383): time 7.504e-06/0.4281, allocations: 0 / 0.66 GB, free: 4.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=383): time 0.5217/0.9498, allocations: 68.05 MB / 0.7264 GB, free: 80.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.9499, allocations: 149.6 kB / 0.7266 GB, free: 80.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.9535, allocations: 3.22 MB / 0.7297 GB, free: 77.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007199/0.9542, allocations: 89.7 kB / 0.7298 GB, free: 77.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009112/0.9551, allocations: 1.963 MB / 0.7317 GB, free: 75.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.9562, allocations: 1.316 MB / 0.733 GB, free: 74.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.9574, allocations: 0.6704 MB / 0.7337 GB, free: 73.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.9574, allocations: 309.2 kB / 0.734 GB, free: 73.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/0.9624, allocations: 2.585 MB / 0.7365 GB, free: 70.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/0.9675, allocations: 3.213 MB / 0.7396 GB, free: 67.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06552/1.033, allocations: 18.8 MB / 0.758 GB, free: 48.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/1.033, allocations: 4 kB / 0.758 GB, free: 48.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05547/1.089, allocations: 17.25 MB / 0.7748 GB, free: 31.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/1.089, allocations: 67.41 kB / 0.7749 GB, free: 30.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/1.089, allocations: 12 kB / 0.7749 GB, free: 30.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02462/1.113, allocations: 7.157 MB / 0.7819 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/1.117, allocations: 0.6709 MB / 0.7825 GB, free: 23.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07628/1.193, allocations: 30.63 MB / 0.8125 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00555/1.198, allocations: 0.6133 MB / 0.8131 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/1.199, allocations: 156 kB / 0.8132 GB, free: 7.531 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.001495/1.2, allocations: 0.6741 MB / 0.8139 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007484/1.201, allocations: 450.4 kB / 0.8143 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0576/1.259, allocations: 16.85 MB / 0.8307 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/1.259, allocations: 36 kB / 0.8308 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-05/1.259, allocations: 28 kB / 0.8308 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-05/1.259, allocations: 27.92 kB / 0.8308 GB, free: 5.395 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.06339/1.322, allocations: 21.83 MB / 0.8522 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.323, allocations: 0 / 0.8522 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/1.325, allocations: 387.5 kB / 0.8525 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0263/1.351, allocations: 7.346 MB / 0.8597 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006936/1.352, allocations: 71.98 kB / 0.8598 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07537/1.427, allocations: 28.97 MB / 0.8881 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.427, allocations: 4 kB / 0.8881 GB, free: 10.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5664/1.994, allocations: 124.6 MB / 1.01 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/1.995, allocations: 0.5507 MB / 1.01 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/1.995, allocations: 64 kB / 1.01 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/1.999, allocations: 383.5 kB / 1.011 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002844/2.002, allocations: 0.7646 MB / 1.011 GB, free: 102.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003048/2.003, allocations: 95.98 kB / 1.012 GB, free: 102.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002348/2.005, allocations: 2.105 MB / 1.014 GB, free: 100.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/2.005, allocations: 0 / 1.014 GB, free: 100.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006406/2.011, allocations: 2.474 MB / 1.016 GB, free: 97.73 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,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 (247): * Single equations (assignments): 244 * 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 {(98,38,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.0004828/2.012, allocations: 201 kB / 1.016 GB, free: 97.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02284/2.035, allocations: 9.153 MB / 1.025 GB, free: 88.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/2.035, allocations: 4 kB / 1.025 GB, free: 88.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01835/2.053, allocations: 6.151 MB / 1.031 GB, free: 82.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/2.056, allocations: 378.1 kB / 1.032 GB, free: 81.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/2.083, allocations: 14.74 MB / 1.046 GB, free: 66.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/2.085, allocations: 2.582 MB / 1.048 GB, free: 64.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001578/2.086, allocations: 375.1 kB / 1.049 GB, free: 63.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/2.087, allocations: 247.4 kB / 1.049 GB, free: 63.67 MB / 0.573 GB Notification: Performance of SimCode: time 1.112e-06/2.087, allocations: 0 / 1.049 GB, free: 63.67 MB / 0.573 GB Notification: Performance of Templates: time 0.3524/2.439, allocations: 120.6 MB / 1.167 GB, free: 143.3 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)