Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07468/0.07468, allocations: 12.6 MB / 28.91 MB, free: 428 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.001087/0.001087, allocations: 111.5 kB / 32.51 MB, free: 3.426 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.294/1.294, 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.001327/0.001328, allocations: 184.5 kB / 291.4 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.5 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.002718/0.002718, allocations: 143.4 kB / 0.5566 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1039, allocations: 68.12 MB / 0.6231 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI): time 0.01251/0.1164, allocations: 13.68 MB / 0.6365 GB, free: 1.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.1242, allocations: 3.504 MB / 0.6399 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.1264, allocations: 28 kB / 0.6399 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.1284, allocations: 0.5654 MB / 0.6405 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.1331, allocations: 1.581 MB / 0.642 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.1368, allocations: 1.554 MB / 0.6435 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.1414, allocations: 3.753 MB / 0.6472 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1428, allocations: 0.8228 MB / 0.648 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.145, allocations: 1.517 MB / 0.6495 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.1478, allocations: 1.999 MB / 0.6514 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.1489, allocations: 288 kB / 0.6517 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1505, allocations: 427.9 kB / 0.6521 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.1516, allocations: 0.7819 MB / 0.6529 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002524/0.1542, allocations: 1.643 MB / 0.6545 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.1594, allocations: 4.013 MB / 0.6584 GB, free: 11.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1595, allocations: 0 / 0.6584 GB, free: 11.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1595, allocations: 7.938 kB / 0.6584 GB, free: 11.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001502/0.1596, allocations: 0 / 0.6584 GB, free: 11.07 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.02503/0.1847, allocations: 6.629 MB / 0.6649 GB, free: 4.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1848, allocations: 15.98 kB / 0.6649 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.2008, allocations: 2.275 MB / 0.6671 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.2051, allocations: 1.922 MB / 0.669 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007415/0.2059, allocations: 0.6751 MB / 0.6697 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007229/0.2066, allocations: 211.9 kB / 0.6699 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007381/0.214, allocations: 3.064 MB / 0.6729 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.2141, allocations: 0 / 0.6729 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/0.2144, allocations: 91.94 kB / 0.6729 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.2145, allocations: 48 kB / 0.673 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006455/0.2209, allocations: 2.831 MB / 0.6758 GB, free: 8.934 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.02014/0.2411, allocations: 9.988 MB / 0.6855 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.2526, allocations: 4.121 MB / 0.6895 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004519/0.2571, allocations: 1.987 MB / 0.6915 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.2575, allocations: 53.94 kB / 0.6915 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.2575, allocations: 60.5 kB / 0.6916 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=244): time 4.94e-06/0.2575, allocations: 0 / 0.6916 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=244): time 0.3592/0.6168, allocations: 29.01 MB / 0.7199 GB, free: 80.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.6169, allocations: 237.8 kB / 0.7201 GB, free: 80.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.6206, allocations: 2.318 MB / 0.7224 GB, free: 79.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005206/0.6211, allocations: 70.95 kB / 0.7225 GB, free: 79.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/0.6219, allocations: 1.179 MB / 0.7236 GB, free: 79.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000817/0.6227, allocations: 0.8662 MB / 0.7245 GB, free: 79.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.6239, allocations: 0.5443 MB / 0.725 GB, free: 78.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.6239, allocations: 301.6 kB / 0.7253 GB, free: 78.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/0.6282, allocations: 1.992 MB / 0.7272 GB, free: 77.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.6328, allocations: 2.342 MB / 0.7295 GB, free: 76.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05594/0.6888, allocations: 14.33 MB / 0.7435 GB, free: 71.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.6888, allocations: 7.844 kB / 0.7435 GB, free: 71.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.03956/0.7284, allocations: 12.44 MB / 0.7557 GB, free: 63.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.7285, allocations: 118.8 kB / 0.7558 GB, free: 63.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.7285, allocations: 8 kB / 0.7558 GB, free: 63.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01813/0.7466, allocations: 5.447 MB / 0.7611 GB, free: 57.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.7495, allocations: 0.5383 MB / 0.7616 GB, free: 57.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05731/0.8068, allocations: 23.63 MB / 0.7847 GB, free: 33.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/0.811, allocations: 465.1 kB / 0.7852 GB, free: 32.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.8113, allocations: 120 kB / 0.7853 GB, free: 32.75 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 Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004725/0.8161, allocations: 2.318 MB / 0.7875 GB, free: 30.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003999/0.8201, allocations: 2.328 MB / 0.7898 GB, free: 28.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05387/0.8739, allocations: 14.27 MB / 0.8037 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.061e-05/0.874, allocations: 0 / 0.8037 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.0396/0.9136, allocations: 12.39 MB / 0.8158 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/0.9137, allocations: 126.8 kB / 0.816 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.9137, allocations: 4 kB / 0.816 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01938/0.9331, allocations: 5.442 MB / 0.8213 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.9361, allocations: 0.5305 MB / 0.8218 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06419/1, allocations: 23.64 MB / 0.8449 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/1.005, allocations: 441.5 kB / 0.8453 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/1.005, allocations: 120 kB / 0.8454 GB, free: 2.602 MB / 0.545 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 Syn2.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 311 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.000807/1.006, allocations: 392.7 kB / 0.8458 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007052/1.007, allocations: 296.3 kB / 0.8461 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04128/1.048, allocations: 11.73 MB / 0.8575 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/1.048, allocations: 15.95 kB / 0.8576 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.048, allocations: 0 / 0.8576 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009369/1.049, allocations: 412.7 kB / 0.8579 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008691/1.05, allocations: 47.98 kB / 0.858 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/1.053, allocations: 287.7 kB / 0.8583 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004152/1.057, allocations: 1.383 MB / 0.8596 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01728/1.075, allocations: 5.78 MB / 0.8653 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01304/1.088, allocations: 5.977 MB / 0.8711 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003847/1.092, allocations: 1.636 MB / 0.8727 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002403/1.094, allocations: 1.543 MB / 0.8742 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of Backend: time 6.51e-07/1.094, allocations: 4 kB / 0.8742 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03134/1.125, allocations: 10.08 MB / 0.8841 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of SimCode: time 0.008858/1.134, allocations: 6.376 MB / 0.8903 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of Templates: time 0.3564/1.491, allocations: 92.18 MB / 0.9803 GB, free: 229.6 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)