Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0884/0.0884, allocations: 12.6 MB / 28.91 MB, free: 0.6094 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.001223/0.001223, allocations: 115.5 kB / 32.51 MB, free: 3.547 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.449/1.449, 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.001372/0.001372, allocations: 192.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4538/0.4538, 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.002677/0.002677, allocations: 139.2 kB / 0.5566 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1374, allocations: 68.12 MB / 0.6231 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.01333/0.1508, allocations: 12.85 MB / 0.6357 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008328/0.1592, allocations: 3.22 MB / 0.6388 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.1626, allocations: 31.94 kB / 0.6388 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.1645, allocations: 0.4995 MB / 0.6393 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.1706, allocations: 1.474 MB / 0.6408 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.1748, allocations: 1.449 MB / 0.6422 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00578/0.1806, allocations: 3.293 MB / 0.6454 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.1822, allocations: 0.7548 MB / 0.6461 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.1847, allocations: 1.357 MB / 0.6475 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.1876, allocations: 1.804 MB / 0.6492 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.1887, allocations: 248 kB / 0.6495 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.1903, allocations: 395.9 kB / 0.6498 GB, free: 3.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.1915, allocations: 0.6845 MB / 0.6505 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.1944, allocations: 1.491 MB / 0.652 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.1989, allocations: 3.604 MB / 0.6555 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.199, allocations: 0 / 0.6555 GB, free: 14.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.199, allocations: 4 kB / 0.6555 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.839e-05/0.1991, allocations: 0 / 0.6555 GB, free: 14.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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02452/0.2236, allocations: 6.107 MB / 0.6615 GB, free: 7.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.2236, allocations: 11.98 kB / 0.6615 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.2395, allocations: 2.244 MB / 0.6637 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.2439, allocations: 1.657 MB / 0.6653 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008274/0.2448, allocations: 0.6669 MB / 0.6659 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/0.2458, allocations: 199.9 kB / 0.6661 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008318/0.2541, allocations: 2.89 MB / 0.6689 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/0.2542, allocations: 4 kB / 0.6689 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005261/0.2547, allocations: 80.02 kB / 0.669 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.2548, allocations: 44 kB / 0.6691 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007138/0.2619, allocations: 2.666 MB / 0.6717 GB, free: 13.25 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.02305/0.285, allocations: 9.481 MB / 0.6809 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.2967, allocations: 4.029 MB / 0.6849 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/0.3013, allocations: 1.877 MB / 0.6867 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.3017, allocations: 41.95 kB / 0.6867 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.3018, allocations: 56.56 kB / 0.6868 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=227): time 4.468e-06/0.3018, allocations: 0 / 0.6868 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.1207/0.4224, allocations: 27.32 MB / 0.7135 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.4225, allocations: 124.8 kB / 0.7136 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2925/0.7151, allocations: 1.989 MB / 0.7155 GB, free: 78.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006695/0.7158, allocations: 67.27 kB / 0.7156 GB, free: 78.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008604/0.7167, allocations: 1.086 MB / 0.7166 GB, free: 78.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008268/0.7175, allocations: 0.8022 MB / 0.7174 GB, free: 77.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.7185, allocations: 0.5001 MB / 0.7179 GB, free: 77.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.7186, allocations: 301.6 kB / 0.7182 GB, free: 77.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/0.723, allocations: 1.867 MB / 0.72 GB, free: 77.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.7279, allocations: 2.223 MB / 0.7222 GB, free: 76.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05915/0.787, allocations: 13.67 MB / 0.7356 GB, free: 72.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.7871, allocations: 1.281 kB / 0.7356 GB, free: 72.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.03996/0.8271, allocations: 12.13 MB / 0.7474 GB, free: 69.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.8272, allocations: 7.469 kB / 0.7474 GB, free: 69.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/0.8272, allocations: 7.469 kB / 0.7474 GB, free: 69.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/0.8461, allocations: 5.356 MB / 0.7526 GB, free: 66.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.8491, allocations: 479.3 kB / 0.7531 GB, free: 66.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06033/0.9095, allocations: 23.52 MB / 0.7761 GB, free: 42.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/0.9139, allocations: 437.2 kB / 0.7765 GB, free: 42.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008219/0.9147, allocations: 104 kB / 0.7766 GB, free: 42.33 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005593/0.9203, allocations: 2.167 MB / 0.7787 GB, free: 40.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004127/0.9245, allocations: 2.196 MB / 0.7808 GB, free: 37.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05303/0.9775, allocations: 13.6 MB / 0.7941 GB, free: 24.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-05/0.9776, allocations: 0 / 0.7941 GB, free: 24.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=373) (initialization_lambda0): time 0.04112/1.019, allocations: 12.1 MB / 0.8059 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.019, allocations: 8 kB / 0.8059 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.019, allocations: 4 kB / 0.8059 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/1.036, allocations: 5.353 MB / 0.8112 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/1.039, allocations: 467.3 kB / 0.8116 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06495/1.104, allocations: 23.52 MB / 0.8346 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/1.108, allocations: 397.7 kB / 0.835 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/1.109, allocations: 104 kB / 0.8351 GB, free: 14.02 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 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * 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.001345/1.11, allocations: 335.9 kB / 0.8354 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.112, allocations: 268.6 kB / 0.8356 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04155/1.153, allocations: 11.44 MB / 0.8468 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.671e-05/1.153, allocations: 15.95 kB / 0.8468 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.153, allocations: 0 / 0.8468 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.154, allocations: 371.5 kB / 0.8472 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.155, allocations: 42.75 kB / 0.8472 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003457/1.159, allocations: 255.7 kB / 0.8475 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004779/1.164, allocations: 1.375 MB / 0.8488 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01937/1.183, allocations: 5.153 MB / 0.8539 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01402/1.197, allocations: 5.378 MB / 0.8591 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003905/1.201, allocations: 1.499 MB / 0.8606 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00232/1.203, allocations: 1.298 MB / 0.8618 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of Backend: time 8.31e-07/1.203, allocations: 4 kB / 0.8618 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03356/1.237, allocations: 9.316 MB / 0.8709 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0108/1.248, allocations: 5.654 MB / 0.8765 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.1448/1.393, allocations: 86.31 MB / 0.9607 GB, free: 13.21 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)