Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08573/0.08573, allocations: 12.6 MB / 28.91 MB, free: 408 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.001294/0.001295, allocations: 115.5 kB / 32.51 MB, free: 3.418 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.417/1.417, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001662/0.001662, allocations: 191.5 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.4596/0.4596, allocations: 78.51 MB / 420 MB, free: 11.25 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.002613/0.002613, allocations: 142.9 kB / 0.5566 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1426, allocations: 68.12 MB / 0.6231 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01397/0.1566, allocations: 13.64 MB / 0.6364 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008681/0.1653, allocations: 3.422 MB / 0.6398 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.1689, allocations: 28 kB / 0.6398 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.1714, allocations: 0.5576 MB / 0.6403 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006328/0.1777, allocations: 1.58 MB / 0.6419 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.182, allocations: 1.506 MB / 0.6434 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006537/0.1886, allocations: 3.725 MB / 0.647 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.1906, allocations: 0.8856 MB / 0.6479 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.1936, allocations: 1.536 MB / 0.6494 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.1968, allocations: 1.948 MB / 0.6513 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.198, allocations: 284 kB / 0.6515 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1998, allocations: 435.8 kB / 0.652 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.2011, allocations: 0.7585 MB / 0.6527 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.2039, allocations: 1.627 MB / 0.6543 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.21, allocations: 3.978 MB / 0.6582 GB, free: 11.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2101, allocations: 7.938 kB / 0.6582 GB, free: 11.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2101, allocations: 0 / 0.6582 GB, free: 11.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.2103, allocations: 0 / 0.6582 GB, free: 11.3 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02582/0.2361, allocations: 6.571 MB / 0.6646 GB, free: 4.633 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.2362, allocations: 19.92 kB / 0.6646 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.252, allocations: 2.271 MB / 0.6668 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.2564, allocations: 1.878 MB / 0.6687 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007985/0.2573, allocations: 0.7174 MB / 0.6694 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005212/0.2578, allocations: 215.9 kB / 0.6696 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006678/0.2645, allocations: 3.039 MB / 0.6725 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.2645, allocations: 4 kB / 0.6725 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.2648, allocations: 83.94 kB / 0.6726 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.2649, allocations: 48 kB / 0.6727 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006057/0.2709, allocations: 2.784 MB / 0.6754 GB, free: 9.297 MB / 494.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.01862/0.2896, allocations: 9.794 MB / 0.6849 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/0.301, allocations: 4.188 MB / 0.689 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004779/0.3058, allocations: 1.96 MB / 0.691 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/0.3063, allocations: 45.95 kB / 0.691 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005833/0.3122, allocations: 2.228 MB / 0.6932 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=247): time 7.133e-06/0.3122, allocations: 0 / 0.6932 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=247): time 0.478/0.7902, allocations: 29.46 MB / 0.7219 GB, free: 81.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.7904, allocations: 184.5 kB / 0.7221 GB, free: 81.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/0.7942, allocations: 2.287 MB / 0.7243 GB, free: 81.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006625/0.7948, allocations: 70.05 kB / 0.7244 GB, free: 81.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007082/0.7956, allocations: 1.174 MB / 0.7256 GB, free: 80.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009111/0.7965, allocations: 0.865 MB / 0.7264 GB, free: 80.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.7977, allocations: 0.5585 MB / 0.7269 GB, free: 80.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.7977, allocations: 310.2 kB / 0.7272 GB, free: 79.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/0.8022, allocations: 1.948 MB / 0.7291 GB, free: 79.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/0.8069, allocations: 2.311 MB / 0.7314 GB, free: 77.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05284/0.8597, allocations: 13.99 MB / 0.7451 GB, free: 71.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/0.8598, allocations: 2.281 kB / 0.7451 GB, free: 71.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03921/0.899, allocations: 12.28 MB / 0.7571 GB, free: 62.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.8991, allocations: 110.8 kB / 0.7572 GB, free: 61.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.8992, allocations: 12 kB / 0.7572 GB, free: 61.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01777/0.917, allocations: 5.319 MB / 0.7624 GB, free: 56.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.9199, allocations: 0.5578 MB / 0.7629 GB, free: 56.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05907/0.979, allocations: 23.49 MB / 0.7859 GB, free: 32.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/0.9834, allocations: 485.1 kB / 0.7863 GB, free: 31.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006001/0.984, allocations: 116 kB / 0.7864 GB, free: 31.82 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001518/0.9856, allocations: 0.5348 MB / 0.787 GB, free: 31.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006825/0.9862, allocations: 296.3 kB / 0.7872 GB, free: 30.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03919/1.025, allocations: 11.9 MB / 0.7989 GB, free: 19.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.183e-05/1.026, allocations: 19.89 kB / 0.7989 GB, free: 19.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1.026, allocations: 0 / 0.7989 GB, free: 19.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.027, allocations: 408.8 kB / 0.7993 GB, free: 18.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.028, allocations: 49.03 kB / 0.7993 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/1.032, allocations: 299.6 kB / 0.7996 GB, free: 18.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004523/1.037, allocations: 1.414 MB / 0.801 GB, free: 16.83 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01565/1.052, allocations: 5.885 MB / 0.8067 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01155/1.064, allocations: 5.887 MB / 0.8125 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003459/1.067, allocations: 1.612 MB / 0.814 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002347/1.07, allocations: 1.511 MB / 0.8155 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of Backend: time 7.92e-07/1.07, allocations: 0 / 0.8155 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01678/1.086, allocations: 5.174 MB / 0.8206 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01009/1.097, allocations: 6.198 MB / 0.8266 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.09428/1.191, allocations: 60.66 MB / 0.8859 GB, free: 9.754 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)