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.08849/0.08849, allocations: 12.6 MB / 28.91 MB, free: 0.625 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.001196/0.001196, allocations: 107.5 kB / 32.51 MB, free: 3.566 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.648/1.648, 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.002067/0.002067, allocations: 188.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.4948/0.4948, allocations: 78.5 MB / 420 MB, free: 11.23 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.003052/0.003052, allocations: 135.1 kB / 0.5566 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.151, allocations: 68.13 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI): time 0.01447/0.1655, allocations: 13.69 MB / 0.6365 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008963/0.1746, allocations: 3.5 MB / 0.6399 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.1779, allocations: 31.94 kB / 0.6399 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.1805, allocations: 0.5771 MB / 0.6405 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006649/0.1871, allocations: 1.565 MB / 0.642 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.1921, allocations: 1.558 MB / 0.6435 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00652/0.1986, allocations: 3.745 MB / 0.6472 GB, free: 6.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.2007, allocations: 0.8267 MB / 0.648 GB, free: 5.785 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.2037, allocations: 1.529 MB / 0.6495 GB, free: 4.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.2067, allocations: 1.98 MB / 0.6514 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.2079, allocations: 288 kB / 0.6517 GB, free: 1.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.2095, allocations: 435.9 kB / 0.6521 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.2108, allocations: 0.7858 MB / 0.6529 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002861/0.2137, allocations: 1.643 MB / 0.6545 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.2197, allocations: 4.005 MB / 0.6584 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2197, allocations: 4 kB / 0.6584 GB, free: 11.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2197, allocations: 4 kB / 0.6584 GB, free: 11.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.2199, allocations: 0 / 0.6584 GB, free: 11.09 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.0263/0.2462, allocations: 6.633 MB / 0.6649 GB, free: 4.355 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.2463, allocations: 11.98 kB / 0.6649 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/0.2629, allocations: 2.279 MB / 0.6671 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0049/0.2678, allocations: 1.918 MB / 0.669 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008357/0.2687, allocations: 0.6711 MB / 0.6697 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009894/0.2697, allocations: 215.9 kB / 0.6699 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008994/0.2787, allocations: 3.064 MB / 0.6729 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.2788, allocations: 4 kB / 0.6729 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005575/0.2794, allocations: 87.92 kB / 0.6729 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/0.2795, allocations: 48 kB / 0.673 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007558/0.287, allocations: 2.834 MB / 0.6758 GB, free: 8.953 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.02278/0.3098, allocations: 9.984 MB / 0.6855 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.3217, allocations: 4.124 MB / 0.6895 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/0.3266, allocations: 1.994 MB / 0.6915 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/0.3271, allocations: 42.98 kB / 0.6915 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.997e-05/0.3272, allocations: 56.56 kB / 0.6916 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=244): time 5.761e-06/0.3272, allocations: 0 / 0.6916 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=244): time 0.4564/0.7837, allocations: 29.01 MB / 0.7199 GB, free: 80.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7838, allocations: 237.7 kB / 0.7201 GB, free: 80.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.7883, allocations: 2.319 MB / 0.7224 GB, free: 79.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000739/0.7891, allocations: 69.8 kB / 0.7225 GB, free: 79.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009142/0.79, allocations: 1.183 MB / 0.7236 GB, free: 79.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.7911, allocations: 0.8635 MB / 0.7245 GB, free: 79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.7924, allocations: 0.5473 MB / 0.725 GB, free: 78.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.7925, allocations: 301.6 kB / 0.7253 GB, free: 78.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/0.7972, allocations: 1.99 MB / 0.7272 GB, free: 77.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00523/0.8024, allocations: 2.348 MB / 0.7295 GB, free: 76.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05752/0.86, allocations: 14.33 MB / 0.7435 GB, free: 71.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.13e-05/0.8601, allocations: 3.906 kB / 0.7435 GB, free: 71.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.04163/0.9017, allocations: 12.44 MB / 0.7557 GB, free: 63.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.9018, allocations: 122.7 kB / 0.7558 GB, free: 63.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.9019, allocations: 6.953 kB / 0.7558 GB, free: 63.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01865/0.9205, allocations: 5.444 MB / 0.7611 GB, free: 57.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/0.9237, allocations: 0.5367 MB / 0.7616 GB, free: 57.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06005/0.9838, allocations: 23.63 MB / 0.7847 GB, free: 33.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/0.9886, allocations: 473.1 kB / 0.7852 GB, free: 32.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006535/0.9893, allocations: 112 kB / 0.7853 GB, free: 32.8 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.005256/0.9945, allocations: 2.328 MB / 0.7875 GB, free: 30.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004444/0.999, allocations: 2.324 MB / 0.7898 GB, free: 28.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05469/1.054, allocations: 14.26 MB / 0.8037 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-05/1.054, allocations: 3.938 kB / 0.8037 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=405) (initialization_lambda0): time 0.04144/1.095, allocations: 12.4 MB / 0.8159 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/1.095, allocations: 114.8 kB / 0.816 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.095, allocations: 8 kB / 0.816 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01976/1.115, allocations: 5.437 MB / 0.8213 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/1.118, allocations: 0.5352 MB / 0.8218 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06541/1.184, allocations: 23.63 MB / 0.8449 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.189, allocations: 453.4 kB / 0.8453 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/1.189, allocations: 112 kB / 0.8454 GB, free: 2.656 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.0009118/1.19, allocations: 404.4 kB / 0.8458 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008825/1.191, allocations: 292.3 kB / 0.8461 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04147/1.232, allocations: 11.73 MB / 0.8575 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001257/1.233, allocations: 15.94 kB / 0.8576 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.233, allocations: 0.9844 kB / 0.8576 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.234, allocations: 408.7 kB / 0.8579 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009218/1.235, allocations: 48 kB / 0.858 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003338/1.238, allocations: 287.6 kB / 0.8583 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004298/1.243, allocations: 1.39 MB / 0.8596 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0185/1.261, allocations: 5.774 MB / 0.8653 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01391/1.275, allocations: 5.98 MB / 0.8711 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004741/1.28, allocations: 1.632 MB / 0.8727 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003444/1.283, allocations: 1.549 MB / 0.8742 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of Backend: time 1.613e-06/1.283, allocations: 0 / 0.8742 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03582/1.319, allocations: 10.07 MB / 0.884 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01085/1.33, allocations: 6.391 MB / 0.8903 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of Templates: time 0.4366/1.767, allocations: 92.17 MB / 0.9803 GB, free: 229.5 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)