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-master/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-master/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-master/package.mo): time 0.08499/0.08499, allocations: 12.6 MB / 28.9 MB, free: 0.7227 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.001248/0.001248, allocations: 111.5 kB / 32.5 MB, free: 3.66 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.385/1.385, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.00171/0.00171, allocations: 192.4 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4652/0.4652, allocations: 78.5 MB / 420 MB, free: 11.23 MB / 302.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.002634/0.002634, allocations: 142.8 kB / 0.5565 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1563, allocations: 68.13 MB / 0.6231 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008691/0.165, allocations: 6.699 MB / 0.6296 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1703, allocations: 1.959 MB / 0.6315 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.1709, allocations: 15.94 kB / 0.6315 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.1717, allocations: 234 kB / 0.6318 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.1736, allocations: 0.8336 MB / 0.6326 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1749, allocations: 0.6274 MB / 0.6332 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.1766, allocations: 1.647 MB / 0.6348 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.177, allocations: 322.4 kB / 0.6351 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008784/0.1779, allocations: 0.6769 MB / 0.6358 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.1789, allocations: 0.8595 MB / 0.6366 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.1791, allocations: 128 kB / 0.6367 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.1796, allocations: 263.9 kB / 0.637 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.1799, allocations: 342.6 kB / 0.6373 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.1805, allocations: 0.6874 MB / 0.638 GB, free: 104 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1821, allocations: 1.701 MB / 0.6396 GB, free: 14.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1822, allocations: 0 / 0.6396 GB, free: 14.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1822, allocations: 4 kB / 0.6396 GB, free: 14.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.1822, allocations: 0 / 0.6396 GB, free: 14.39 MB / 462.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.008837/0.191, allocations: 2.754 MB / 0.6423 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1911, allocations: 15.98 kB / 0.6423 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.196, allocations: 0.7748 MB / 0.6431 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.1976, allocations: 0.914 MB / 0.644 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.1979, allocations: 260.1 kB / 0.6442 GB, free: 9.516 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.1981, allocations: 87.84 kB / 0.6443 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.2004, allocations: 1.098 MB / 0.6454 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2004, allocations: 3.938 kB / 0.6454 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2005, allocations: 35.98 kB / 0.6454 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2005, allocations: 23.98 kB / 0.6455 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.2026, allocations: 0.9955 MB / 0.6464 GB, free: 7.262 MB / 462.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.006771/0.2094, allocations: 3.867 MB / 0.6502 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/0.2168, allocations: 2.384 MB / 0.6525 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.2182, allocations: 0.6878 MB / 0.6532 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/0.2183, allocations: 16.97 kB / 0.6532 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.22, allocations: 0.8217 MB / 0.654 GB, free: 15.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.805e-06/0.22, allocations: 0 / 0.654 GB, free: 15.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02913/0.2492, allocations: 7.229 MB / 0.6611 GB, free: 7.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.2493, allocations: 111.8 kB / 0.6612 GB, free: 7.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.2512, allocations: 1.123 MB / 0.6623 GB, free: 6.629 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.2514, allocations: 45.7 kB / 0.6623 GB, free: 6.578 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.2519, allocations: 0.5007 MB / 0.6628 GB, free: 6.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.2523, allocations: 358.9 kB / 0.6632 GB, free: 5.715 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005016/0.2528, allocations: 299.4 kB / 0.6634 GB, free: 5.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2529, allocations: 305.1 kB / 0.6637 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.2545, allocations: 0.7847 MB / 0.6645 GB, free: 4.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.2562, allocations: 0.9537 MB / 0.6654 GB, free: 3.336 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0248/0.281, allocations: 5.79 MB / 0.6711 GB, free: 13.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.2811, allocations: 8 kB / 0.6711 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01429/0.2954, allocations: 4.442 MB / 0.6754 GB, free: 8.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.2956, allocations: 67.33 kB / 0.6755 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.2956, allocations: 4 kB / 0.6755 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006329/0.3019, allocations: 1.638 MB / 0.6771 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.3035, allocations: 291.6 kB / 0.6774 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.3258, allocations: 8.592 MB / 0.6858 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.3281, allocations: 210.6 kB / 0.686 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.3284, allocations: 63.91 kB / 0.686 GB, free: 13.96 MB / 0.4981 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 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.001005/0.3294, allocations: 300.4 kB / 0.6863 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.3299, allocations: 126.4 kB / 0.6864 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.3434, allocations: 3.896 MB / 0.6902 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.3435, allocations: 12 kB / 0.6903 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/0.3435, allocations: 11.94 kB / 0.6903 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.3436, allocations: 3.984 kB / 0.6903 GB, free: 9.57 MB / 0.4981 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.01671/0.3603, allocations: 5.514 MB / 0.6957 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.3604, allocations: 0 / 0.6957 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.3612, allocations: 99.89 kB / 0.6957 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006047/0.3672, allocations: 1.599 MB / 0.6973 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.3675, allocations: 24 kB / 0.6973 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0219/0.3894, allocations: 9.65 MB / 0.7068 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3895, allocations: 0 / 0.7068 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/0.4053, allocations: 4.778 MB / 0.7114 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/0.4059, allocations: 231.2 kB / 0.7116 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004883/0.4065, allocations: 23.94 kB / 0.7117 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.408, allocations: 107.9 kB / 0.7118 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007053/0.4088, allocations: 192.7 kB / 0.712 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.4089, allocations: 31.98 kB / 0.712 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001436/0.4104, allocations: 0.7591 MB / 0.7127 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.813e-06/0.4104, allocations: 112 / 0.7127 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002053/0.4125, allocations: 491.5 kB / 0.7132 GB, free: 1.621 MB / 0.5137 GB 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.0003812/0.4129, allocations: 136.7 kB / 0.7133 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.3212/0.7341, allocations: 2.588 MB / 0.7159 GB, free: 86.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.7342, allocations: 1.625 kB / 0.7159 GB, free: 86.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004992/0.7392, allocations: 1.585 MB / 0.7174 GB, free: 86.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.7404, allocations: 118.8 kB / 0.7175 GB, free: 86.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.7453, allocations: 2.384 MB / 0.7198 GB, free: 85.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009165/0.7462, allocations: 1.133 MB / 0.7209 GB, free: 84.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.7467, allocations: 84.22 kB / 0.721 GB, free: 84.63 MB / 0.5137 GB Notification: Performance of SimCode: time 1.834e-06/0.7467, allocations: 0 / 0.721 GB, free: 84.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.04151/0.7883, allocations: 23.99 MB / 0.7445 GB, free: 75.71 MB / 0.5137 GB 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)