Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08049/0.08049, allocations: 12.2 MB / 27.32 MB, free: 1.41 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 104.8 kB / 30.82 MB, free: 4.703 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 239.3 MB, free: 10.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 184.5 kB / 289.5 MB, free: 15.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4819/0.4819, allocations: 78.5 MB / 418 MB, free: 31.84 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 132.9 kB / 498.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3634, allocations: 68.03 MB / 0.553 GB, free: 37.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006724/0.3701, allocations: 7.003 MB / 0.5598 GB, free: 32.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.3744, allocations: 2.009 MB / 0.5618 GB, free: 31.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.3752, allocations: 11.44 kB / 0.5618 GB, free: 31.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.376, allocations: 195.5 kB / 0.562 GB, free: 31.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.3777, allocations: 0.72 MB / 0.5627 GB, free: 30.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3788, allocations: 0.5989 MB / 0.5633 GB, free: 30.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.38, allocations: 1.542 MB / 0.5648 GB, free: 29.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.3804, allocations: 291 kB / 0.565 GB, free: 29.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006604/0.3811, allocations: 0.6071 MB / 0.5656 GB, free: 29.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.3818, allocations: 0.8112 MB / 0.5664 GB, free: 28.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.3819, allocations: 75.25 kB / 0.5665 GB, free: 28.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.3824, allocations: 209.8 kB / 0.5667 GB, free: 28.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.3826, allocations: 292.7 kB / 0.567 GB, free: 28.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.383, allocations: 0.6335 MB / 0.5676 GB, free: 28.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3841, allocations: 1.638 MB / 0.5692 GB, free: 27.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3841, allocations: 0 / 0.5692 GB, free: 27.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3841, allocations: 0 / 0.5692 GB, free: 27.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3842, allocations: 0 / 0.5692 GB, free: 27.56 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008614/0.3928, allocations: 2.757 MB / 0.5719 GB, free: 26.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3928, allocations: 14.45 kB / 0.5719 GB, free: 26.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.3976, allocations: 0.7741 MB / 0.5727 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.399, allocations: 0.9161 MB / 0.5735 GB, free: 25.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.3993, allocations: 260.7 kB / 0.5738 GB, free: 25.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3994, allocations: 82.34 kB / 0.5739 GB, free: 25.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.4014, allocations: 1.1 MB / 0.5749 GB, free: 24.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4015, allocations: 3.938 kB / 0.575 GB, free: 24.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.4016, allocations: 33.12 kB / 0.575 GB, free: 24.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.4016, allocations: 15.78 kB / 0.575 GB, free: 24.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.4035, allocations: 0.9973 MB / 0.576 GB, free: 24.46 MB / 414.1 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.007139/0.4106, allocations: 3.885 MB / 0.5798 GB, free: 22.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007457/0.4181, allocations: 2.386 MB / 0.5821 GB, free: 21.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4197, allocations: 0.685 MB / 0.5828 GB, free: 21.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.4198, allocations: 15.92 kB / 0.5828 GB, free: 21.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.4215, allocations: 0.8226 MB / 0.5836 GB, free: 20.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.345e-06/0.4216, allocations: 0 / 0.5836 GB, free: 20.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02876/0.4503, allocations: 7.233 MB / 0.5906 GB, free: 17.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.4504, allocations: 114.2 kB / 0.5908 GB, free: 17.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.4522, allocations: 1.128 MB / 0.5919 GB, free: 16.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.4525, allocations: 46.58 kB / 0.5919 GB, free: 16.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.4528, allocations: 0.4958 MB / 0.5924 GB, free: 16.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.4531, allocations: 357.8 kB / 0.5927 GB, free: 16.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.4536, allocations: 291.7 kB / 0.593 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.4537, allocations: 306.6 kB / 0.5933 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.4552, allocations: 0.7823 MB / 0.5941 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.4568, allocations: 0.9585 MB / 0.595 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02388/0.4807, allocations: 5.8 MB / 0.6007 GB, free: 9.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.4808, allocations: 4 kB / 0.6007 GB, free: 9.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01341/0.4942, allocations: 4.446 MB / 0.605 GB, free: 5.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.4943, allocations: 71.33 kB / 0.6051 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.4943, allocations: 4 kB / 0.6051 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005431/0.4998, allocations: 1.638 MB / 0.6067 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.5014, allocations: 287.6 kB / 0.607 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.5197, allocations: 7.94 MB / 0.6147 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.522, allocations: 198.7 kB / 0.6149 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.5224, allocations: 59.97 kB / 0.615 GB, free: 10.68 MB / 430.1 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.5234, allocations: 299.7 kB / 0.6152 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/0.5239, allocations: 134.4 kB / 0.6154 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.5366, allocations: 3.9 MB / 0.6192 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.5366, allocations: 11.94 kB / 0.6192 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.5367, allocations: 8 kB / 0.6192 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.5367, allocations: 3.984 kB / 0.6192 GB, free: 6.297 MB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.01553/0.5522, allocations: 5.516 MB / 0.6246 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.5523, allocations: 0 / 0.6246 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/0.5531, allocations: 107.8 kB / 0.6247 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005456/0.5586, allocations: 1.594 MB / 0.6262 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002521/0.5589, allocations: 23.98 kB / 0.6263 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/0.5788, allocations: 8.801 MB / 0.6349 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5788, allocations: 0 / 0.6349 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.5942, allocations: 4.776 MB / 0.6395 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/0.5949, allocations: 231.2 kB / 0.6397 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005283/0.5955, allocations: 16 kB / 0.6398 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.5972, allocations: 111.9 kB / 0.6399 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007411/0.5979, allocations: 196.6 kB / 0.6401 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/0.5982, allocations: 28 kB / 0.6401 GB, free: 464 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.5996, allocations: 0.7553 MB / 0.6408 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5996, allocations: 3.938 kB / 0.6408 GB, free: 15.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002201/0.6018, allocations: 487.5 kB / 0.6413 GB, free: 15.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003823/0.6022, allocations: 139.4 kB / 0.6414 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006791/0.609, allocations: 2.597 MB / 0.644 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.609, allocations: 0 / 0.644 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004322/0.6134, allocations: 1.584 MB / 0.6455 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.6147, allocations: 112.4 kB / 0.6456 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.6196, allocations: 2.799 MB / 0.6483 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/0.6204, allocations: 1.132 MB / 0.6494 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005176/0.6209, allocations: 120.1 kB / 0.6496 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.6212, allocations: 79.41 kB / 0.6496 GB, free: 6.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6212, allocations: 0 / 0.6496 GB, free: 6.52 MB / 462.1 MB Notification: Performance of Templates: time 0.03596/0.6572, allocations: 22.1 MB / 0.6712 GB, free: 432 kB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)