Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09755/0.09755, allocations: 12.61 MB / 28.86 MB, free: 400 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 111.5 kB / 32.46 MB, free: 3.449 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.425/1.425, allocations: 205.1 MB / 241.1 MB, free: 9.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 188.5 kB / 291.3 MB, free: 7.578 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4731/0.4731, allocations: 78.51 MB / 419.9 MB, free: 5.766 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.002621/0.002621, allocations: 140 kB / 0.4895 GB, free: 36.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1469, allocations: 68.12 MB / 0.556 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007604/0.1545, allocations: 6.751 MB / 0.5626 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.1596, allocations: 1.979 MB / 0.5645 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.1604, allocations: 11.94 kB / 0.5645 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007887/0.1612, allocations: 245.9 kB / 0.5648 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.1631, allocations: 0.8216 MB / 0.5656 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1644, allocations: 0.6507 MB / 0.5662 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.166, allocations: 1.675 MB / 0.5678 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.1665, allocations: 330.5 kB / 0.5682 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006926/0.1672, allocations: 0.6886 MB / 0.5688 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008593/0.1681, allocations: 0.8791 MB / 0.5697 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.1683, allocations: 135.9 kB / 0.5698 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004557/0.1687, allocations: 267.8 kB / 0.5701 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.169, allocations: 342.7 kB / 0.5704 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005515/0.1696, allocations: 0.703 MB / 0.5711 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1712, allocations: 1.74 MB / 0.5728 GB, free: 6.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1712, allocations: 0 / 0.5728 GB, free: 6.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1712, allocations: 0 / 0.5728 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.1712, allocations: 0 / 0.5728 GB, free: 6.762 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008549/0.1798, allocations: 2.778 MB / 0.5755 GB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1798, allocations: 11.98 kB / 0.5755 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.1847, allocations: 0.7787 MB / 0.5763 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1862, allocations: 0.9219 MB / 0.5772 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.1865, allocations: 256.2 kB / 0.5774 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.1867, allocations: 91.91 kB / 0.5775 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.1887, allocations: 1.11 MB / 0.5786 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1887, allocations: 0 / 0.5786 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.855e-05/0.1888, allocations: 32 kB / 0.5786 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1888, allocations: 20 kB / 0.5786 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1908, allocations: 1.003 MB / 0.5796 GB, free: 15.59 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.006249/0.197, allocations: 3.895 MB / 0.5834 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/0.204, allocations: 2.41 MB / 0.5858 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.2053, allocations: 0.6918 MB / 0.5865 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.2054, allocations: 13 kB / 0.5865 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.207, allocations: 0.845 MB / 0.5873 GB, free: 7.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.865e-06/0.207, allocations: 0 / 0.5873 GB, free: 7.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02729/0.2343, allocations: 7.085 MB / 0.5942 GB, free: 296 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.2344, allocations: 111.8 kB / 0.5943 GB, free: 160 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.2362, allocations: 1.147 MB / 0.5954 GB, free: 15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.2364, allocations: 49.73 kB / 0.5955 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.2368, allocations: 0.4969 MB / 0.596 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.2372, allocations: 359 kB / 0.5963 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/0.2377, allocations: 299.3 kB / 0.5966 GB, free: 13.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2379, allocations: 305.1 kB / 0.5969 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.2395, allocations: 0.7965 MB / 0.5977 GB, free: 12.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.2412, allocations: 0.9694 MB / 0.5986 GB, free: 11.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02422/0.2654, allocations: 5.919 MB / 0.6044 GB, free: 5.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.2655, allocations: 0 / 0.6044 GB, free: 5.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.0139/0.2794, allocations: 4.504 MB / 0.6088 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.2796, allocations: 66.22 kB / 0.6089 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.2796, allocations: 4 kB / 0.6089 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006121/0.2857, allocations: 1.669 MB / 0.6105 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.2873, allocations: 299.5 kB / 0.6108 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/0.3069, allocations: 8.627 MB / 0.6192 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.3091, allocations: 202.6 kB / 0.6194 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.3092, allocations: 63.97 kB / 0.6195 GB, free: 6.047 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (171): * Single equations (assignments): 168 * 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.0007043/0.31, allocations: 308.1 kB / 0.6197 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.3102, allocations: 126.4 kB / 0.6199 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.3221, allocations: 3.924 MB / 0.6237 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3221, allocations: 12 kB / 0.6237 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3221, allocations: 4 kB / 0.6237 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.3221, allocations: 7.984 kB / 0.6237 GB, free: 1.633 MB / 446.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.01366/0.3358, allocations: 5.553 MB / 0.6291 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.3358, allocations: 0 / 0.6291 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.3365, allocations: 103.8 kB / 0.6292 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005052/0.3416, allocations: 1.595 MB / 0.6308 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.3417, allocations: 24 kB / 0.6308 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.3603, allocations: 9.619 MB / 0.6402 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3604, allocations: 0 / 0.6402 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.3737, allocations: 4.813 MB / 0.6449 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.3742, allocations: 223.3 kB / 0.6451 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.3744, allocations: 35.98 kB / 0.6452 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.3756, allocations: 103.9 kB / 0.6453 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006018/0.3763, allocations: 196.7 kB / 0.6455 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/0.3764, allocations: 35.92 kB / 0.6455 GB, free: 10.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001061/0.3774, allocations: 0.7634 MB / 0.6462 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3774, allocations: 4 kB / 0.6462 GB, free: 10.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001363/0.3788, allocations: 487.5 kB / 0.6467 GB, free: 9.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/0.3791, allocations: 148.4 kB / 0.6468 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006234/0.3853, allocations: 2.616 MB / 0.6494 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3854, allocations: 0 / 0.6494 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003973/0.3893, allocations: 1.62 MB / 0.651 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.3903, allocations: 116.5 kB / 0.6511 GB, free: 5.039 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.3944, allocations: 2.41 MB / 0.6534 GB, free: 2.605 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.3951, allocations: 1.136 MB / 0.6546 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.3955, allocations: 116.3 kB / 0.6547 GB, free: 1.324 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.3958, allocations: 83.41 kB / 0.6547 GB, free: 1.246 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3958, allocations: 0 / 0.6547 GB, free: 1.246 MB / 478.1 MB Notification: Performance of Templates: time 0.2896/0.6854, allocations: 24.46 MB / 0.6786 GB, free: 87.75 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)