Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08868/0.08868, allocations: 12.61 MB / 28.91 MB, free: 0.6172 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.0011/0.0011, allocations: 111.5 kB / 32.51 MB, free: 3.559 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.42/1.42, 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.001469/0.001469, 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.455/0.455, 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.004563/0.004563, allocations: 143.5 kB / 0.5566 GB, free: 28.41 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1489, allocations: 68.12 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI): time 0.01387/0.1628, allocations: 13.55 MB / 0.6363 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00832/0.1712, allocations: 3.445 MB / 0.6397 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.174, allocations: 31.94 kB / 0.6397 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.1763, allocations: 0.5616 MB / 0.6403 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.1824, allocations: 1.548 MB / 0.6418 GB, free: 12.18 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.1867, allocations: 1.55 MB / 0.6433 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006648/0.1934, allocations: 3.663 MB / 0.6469 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.1957, allocations: 0.8266 MB / 0.6477 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003505/0.1992, allocations: 1.486 MB / 0.6491 GB, free: 4.617 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/0.2031, allocations: 1.941 MB / 0.651 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001668/0.2048, allocations: 276 kB / 0.6513 GB, free: 2.398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.2071, allocations: 427.8 kB / 0.6517 GB, free: 1.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.2087, allocations: 0.7624 MB / 0.6525 GB, free: 1.215 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003339/0.212, allocations: 1.615 MB / 0.654 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006304/0.2183, allocations: 3.931 MB / 0.6579 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.527e-05/0.2184, allocations: 3.938 kB / 0.6579 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2184, allocations: 0 / 0.6579 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001851/0.2186, allocations: 0 / 0.6579 GB, free: 11.64 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.02586/0.2445, allocations: 6.532 MB / 0.6643 GB, free: 5.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.2445, allocations: 15.97 kB / 0.6643 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.2602, allocations: 2.279 MB / 0.6665 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.2648, allocations: 1.874 MB / 0.6683 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008129/0.2657, allocations: 0.6711 MB / 0.669 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007935/0.2665, allocations: 216 kB / 0.6692 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007852/0.2744, allocations: 3.04 MB / 0.6722 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.2744, allocations: 0 / 0.6722 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/0.2748, allocations: 83.94 kB / 0.6722 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.2749, allocations: 56 kB / 0.6723 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/0.2815, allocations: 2.811 MB / 0.675 GB, free: 9.691 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.01878/0.3003, allocations: 9.87 MB / 0.6847 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.3113, allocations: 4.104 MB / 0.6887 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.3155, allocations: 1.979 MB / 0.6906 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.3158, allocations: 46.92 kB / 0.6907 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.3159, allocations: 60.56 kB / 0.6907 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.559e-06/0.3159, allocations: 0 / 0.6907 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242): time 0.4598/0.7758, allocations: 29.46 MB / 0.7195 GB, free: 80.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7759, allocations: 233.6 kB / 0.7197 GB, free: 80.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/0.7804, allocations: 2.266 MB / 0.7219 GB, free: 79.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006821/0.7811, allocations: 70.64 kB / 0.722 GB, free: 79.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009018/0.782, allocations: 1.16 MB / 0.7231 GB, free: 79.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009481/0.783, allocations: 0.851 MB / 0.7239 GB, free: 78.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.7842, allocations: 0.5384 MB / 0.7245 GB, free: 78.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.7843, allocations: 309.9 kB / 0.7248 GB, free: 78.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/0.789, allocations: 1.948 MB / 0.7267 GB, free: 77.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/0.7937, allocations: 2.313 MB / 0.7289 GB, free: 76.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05502/0.8488, allocations: 13.99 MB / 0.7426 GB, free: 71.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.8488, allocations: 0 / 0.7426 GB, free: 71.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.04018/0.889, allocations: 12.45 MB / 0.7547 GB, free: 64.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-05/0.8891, allocations: 114.8 kB / 0.7549 GB, free: 64.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.8892, allocations: 6.938 kB / 0.7549 GB, free: 64.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01718/0.9064, allocations: 5.285 MB / 0.76 GB, free: 58.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.9093, allocations: 0.5266 MB / 0.7605 GB, free: 58.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05939/0.9687, allocations: 23.17 MB / 0.7832 GB, free: 34.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004631/0.9734, allocations: 469.1 kB / 0.7836 GB, free: 34.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/0.9738, allocations: 116 kB / 0.7837 GB, free: 34.42 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004875/0.9787, allocations: 2.277 MB / 0.786 GB, free: 32.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004049/0.9828, allocations: 2.288 MB / 0.7882 GB, free: 29.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05117/1.034, allocations: 13.92 MB / 0.8018 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.427e-05/1.034, allocations: 3.938 kB / 0.8018 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.03943/1.073, allocations: 12.39 MB / 0.8139 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/1.074, allocations: 122.8 kB / 0.814 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.074, allocations: 4 kB / 0.814 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01796/1.092, allocations: 5.28 MB / 0.8192 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/1.095, allocations: 0.5227 MB / 0.8197 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06455/1.159, allocations: 23.18 MB / 0.8423 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.164, allocations: 438.7 kB / 0.8427 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009275/1.165, allocations: 112 kB / 0.8428 GB, free: 5.316 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 305 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00179/1.167, allocations: 407.4 kB / 0.8432 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.169, allocations: 294.2 kB / 0.8435 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.044/1.213, allocations: 11.68 MB / 0.8549 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-05/1.213, allocations: 11.95 kB / 0.8549 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.213, allocations: 3.625 kB / 0.8549 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.214, allocations: 404.7 kB / 0.8553 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.215, allocations: 49.11 kB / 0.8554 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/1.219, allocations: 287.7 kB / 0.8556 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004656/1.224, allocations: 1.383 MB / 0.857 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0185/1.242, allocations: 5.683 MB / 0.8625 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01325/1.255, allocations: 5.913 MB / 0.8683 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004119/1.26, allocations: 1.616 MB / 0.8699 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004198/1.264, allocations: 1.507 MB / 0.8714 GB, free: 8 MB / 0.5762 GB Notification: Performance of Backend: time 4.91e-07/1.264, allocations: 0 / 0.8714 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03195/1.296, allocations: 9.776 MB / 0.8809 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01044/1.306, allocations: 6.235 MB / 0.887 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.1317/1.438, allocations: 86.34 MB / 0.9713 GB, free: 1.5 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)