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/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.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/package.mo): time 0.1085/0.1085, allocations: 12.2 MB / 27.47 MB, free: 0.9297 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.0008949/0.0008953, allocations: 99.52 kB / 31 MB, free: 4.531 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.589/1.589, allocations: 205.4 MB / 239.8 MB, free: 14.16 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.00107/0.00107, allocations: 184.9 kB / 291 MB, free: 11.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4775/0.4775, allocations: 78.54 MB / 420.5 MB, free: 11.57 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.0009682/0.000968, allocations: 24 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3726, allocations: 69.23 MB / 0.5577 GB, free: 20.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005465/0.3781, allocations: 6.581 MB / 0.5641 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.3825, allocations: 2.014 MB / 0.5661 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.3831, allocations: 12 kB / 0.5661 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.3838, allocations: 194.8 kB / 0.5663 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.3855, allocations: 0.7201 MB / 0.567 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3866, allocations: 0.5994 MB / 0.5676 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.3877, allocations: 1.581 MB / 0.5691 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.3881, allocations: 289.4 kB / 0.5694 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.3887, allocations: 0.5986 MB / 0.57 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006645/0.3894, allocations: 0.7892 MB / 0.5708 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3895, allocations: 71.98 kB / 0.5708 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.3899, allocations: 191.9 kB / 0.571 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.3901, allocations: 274.6 kB / 0.5713 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.3905, allocations: 0.6461 MB / 0.5719 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.3915, allocations: 1.611 MB / 0.5735 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3916, allocations: 4 kB / 0.5735 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3916, allocations: 3.938 kB / 0.5735 GB, free: 4.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3916, allocations: 0 / 0.5735 GB, free: 4.707 MB / 382.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.008188/0.3998, allocations: 2.591 MB / 0.576 GB, free: 2.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3998, allocations: 23.84 kB / 0.576 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.4046, allocations: 0.7787 MB / 0.5768 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.4061, allocations: 0.9257 MB / 0.5777 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.4064, allocations: 268.2 kB / 0.578 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.4066, allocations: 84 kB / 0.578 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.409, allocations: 1.172 MB / 0.5792 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4091, allocations: 4 kB / 0.5792 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4092, allocations: 35.94 kB / 0.5792 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.4092, allocations: 20 kB / 0.5792 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.4114, allocations: 1.066 MB / 0.5803 GB, free: 13.57 MB / 398.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.007004/0.4184, allocations: 4.004 MB / 0.5842 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008431/0.4269, allocations: 2.943 MB / 0.5871 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.4285, allocations: 0.7552 MB / 0.5878 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.4286, allocations: 20.91 kB / 0.5878 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.4304, allocations: 0.892 MB / 0.5887 GB, free: 4.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.337e-06/0.4304, allocations: 4 kB / 0.5887 GB, free: 4.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.03137/0.4617, allocations: 8.64 MB / 0.5971 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4619, allocations: 123.8 kB / 0.5973 GB, free: 11.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.4638, allocations: 1.139 MB / 0.5984 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.4641, allocations: 45.7 kB / 0.5984 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.4645, allocations: 0.4931 MB / 0.5989 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.4649, allocations: 374.8 kB / 0.5993 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.4652, allocations: 149.6 kB / 0.5994 GB, free: 9.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4653, allocations: 309.1 kB / 0.5997 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.467, allocations: 0.8512 MB / 0.6005 GB, free: 8.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.4689, allocations: 1.051 MB / 0.6016 GB, free: 7.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02673/0.4957, allocations: 6.361 MB / 0.6078 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4957, allocations: 4 kB / 0.6078 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01716/0.5129, allocations: 5.34 MB / 0.613 GB, free: 11.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5131, allocations: 59.41 kB / 0.613 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.5132, allocations: 4 kB / 0.613 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/0.5203, allocations: 1.954 MB / 0.6149 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.5221, allocations: 295.6 kB / 0.6152 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/0.5444, allocations: 8.955 MB / 0.624 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.5473, allocations: 242.7 kB / 0.6242 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.5477, allocations: 59.91 kB / 0.6243 GB, free: 15.8 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.001367/0.5491, allocations: 316.1 kB / 0.6246 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/0.5498, allocations: 130.4 kB / 0.6247 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.5651, allocations: 4.764 MB / 0.6293 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.5651, allocations: 12 kB / 0.6294 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-05/0.5652, allocations: 8 kB / 0.6294 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.678e-05/0.5652, allocations: 7.969 kB / 0.6294 GB, free: 10.54 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.01773/0.583, allocations: 6.403 MB / 0.6356 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.583, allocations: 0 / 0.6356 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.5838, allocations: 103.9 kB / 0.6357 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006192/0.5901, allocations: 1.876 MB / 0.6376 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.5903, allocations: 31.92 kB / 0.6376 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/0.6117, allocations: 9.672 MB / 0.647 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6118, allocations: 0 / 0.647 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.6286, allocations: 5.709 MB / 0.6526 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.6292, allocations: 239.2 kB / 0.6528 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005353/0.6298, allocations: 20.06 kB / 0.6529 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.6314, allocations: 147.9 kB / 0.653 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007163/0.6322, allocations: 196.6 kB / 0.6532 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.6323, allocations: 24 kB / 0.6532 GB, free: 1.676 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.6338, allocations: 0.7713 MB / 0.654 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6338, allocations: 0 / 0.654 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001931/0.6358, allocations: 495.5 kB / 0.6544 GB, free: 424 kB / 462.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.0003941/0.6362, allocations: 139.1 kB / 0.6546 GB, free: 276 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007786/0.644, allocations: 2.901 MB / 0.6574 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.644, allocations: 0 / 0.6574 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005011/0.649, allocations: 1.834 MB / 0.6592 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.6507, allocations: 120.4 kB / 0.6593 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.656, allocations: 2.986 MB / 0.6622 GB, free: 8.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/0.6568, allocations: 1.143 MB / 0.6633 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005668/0.6574, allocations: 120.3 kB / 0.6634 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.6578, allocations: 75.42 kB / 0.6635 GB, free: 6.953 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.6578, allocations: 4 kB / 0.6635 GB, free: 6.949 MB / 478.1 MB Notification: Performance of Templates: time 0.03962/0.6974, allocations: 21.92 MB / 0.6849 GB, free: 1.055 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: