Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1205/0.1205, allocations: 12.6 MB / 28.91 MB, free: 0.6211 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.001082/0.001082, allocations: 107.5 kB / 32.51 MB, free: 3.562 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.438/1.438, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001384/0.001384, 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.4512/0.4512, 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.002691/0.002691, allocations: 140.1 kB / 0.5566 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1292, allocations: 68.12 MB / 0.6231 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01406/0.1433, allocations: 13.88 MB / 0.6367 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007818/0.1511, allocations: 3.481 MB / 0.6401 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.1527, allocations: 28 kB / 0.6401 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.154, allocations: 0.5615 MB / 0.6406 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.1585, allocations: 1.602 MB / 0.6422 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.162, allocations: 1.523 MB / 0.6437 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004756/0.1668, allocations: 3.816 MB / 0.6474 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.168, allocations: 0.9012 MB / 0.6483 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.1702, allocations: 1.56 MB / 0.6498 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.1722, allocations: 1.999 MB / 0.6518 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004287/0.1726, allocations: 296 kB / 0.6521 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.1735, allocations: 443.8 kB / 0.6525 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006452/0.1741, allocations: 0.7819 MB / 0.6532 GB, free: 344 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.1756, allocations: 1.662 MB / 0.6549 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.1795, allocations: 4.04 MB / 0.6588 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1795, allocations: 0 / 0.6588 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1795, allocations: 0 / 0.6588 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.799e-05/0.1796, allocations: 0 / 0.6588 GB, free: 10.61 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02367/0.2032, allocations: 6.676 MB / 0.6653 GB, free: 3.836 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2033, allocations: 15.92 kB / 0.6653 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.2184, allocations: 2.282 MB / 0.6676 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/0.2223, allocations: 1.91 MB / 0.6694 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007657/0.2231, allocations: 0.7251 MB / 0.6701 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.2236, allocations: 219.9 kB / 0.6704 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007092/0.2307, allocations: 3.059 MB / 0.6733 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.2308, allocations: 3.984 kB / 0.6733 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.2311, allocations: 87.94 kB / 0.6734 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.2311, allocations: 52 kB / 0.6735 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006514/0.2377, allocations: 2.8 MB / 0.6762 GB, free: 8.406 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.02263/0.2603, allocations: 9.884 MB / 0.6859 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.2723, allocations: 4.228 MB / 0.69 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004298/0.2766, allocations: 1.979 MB / 0.6919 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.2769, allocations: 37.95 kB / 0.692 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005041/0.282, allocations: 2.256 MB / 0.6942 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=250): time 9.247e-06/0.282, allocations: 0 / 0.6942 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.4067/0.6887, allocations: 28.82 MB / 0.7223 GB, free: 81.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.6888, allocations: 181.3 kB / 0.7225 GB, free: 80.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.6927, allocations: 2.335 MB / 0.7248 GB, free: 80.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006255/0.6933, allocations: 70.55 kB / 0.7248 GB, free: 80.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007192/0.6941, allocations: 1.174 MB / 0.726 GB, free: 80.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009263/0.695, allocations: 0.8907 MB / 0.7268 GB, free: 79.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.6962, allocations: 0.5676 MB / 0.7274 GB, free: 79.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.6963, allocations: 310.3 kB / 0.7277 GB, free: 79.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004586/0.7008, allocations: 1.989 MB / 0.7296 GB, free: 78.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/0.7059, allocations: 2.352 MB / 0.7319 GB, free: 77.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05584/0.7618, allocations: 14.37 MB / 0.746 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.7619, allocations: 0 / 0.746 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04233/0.8042, allocations: 12.61 MB / 0.7583 GB, free: 60.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.8043, allocations: 114.8 kB / 0.7584 GB, free: 60.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.8044, allocations: 11.98 kB / 0.7584 GB, free: 60.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01842/0.8228, allocations: 5.428 MB / 0.7637 GB, free: 54.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/0.8259, allocations: 0.5812 MB / 0.7643 GB, free: 54.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06044/0.8863, allocations: 23.64 MB / 0.7874 GB, free: 30.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004919/0.8913, allocations: 0.489 MB / 0.7878 GB, free: 30.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007023/0.892, allocations: 120 kB / 0.788 GB, free: 29.99 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: 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 (336): * Single equations (assignments): 331 * 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.001859/0.8939, allocations: 0.5349 MB / 0.7885 GB, free: 29.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/0.8949, allocations: 296.2 kB / 0.7888 GB, free: 29.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0396/0.9345, allocations: 11.95 MB / 0.8004 GB, free: 17.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-05/0.9347, allocations: 11.95 kB / 0.8004 GB, free: 17.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.9347, allocations: 0 / 0.8004 GB, free: 17.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.9358, allocations: 420.7 kB / 0.8009 GB, free: 16.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/0.9371, allocations: 48 kB / 0.8009 GB, free: 16.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003812/0.9409, allocations: 295.6 kB / 0.8012 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004714/0.9457, allocations: 1.418 MB / 0.8026 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01819/0.9639, allocations: 5.987 MB / 0.8084 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01236/0.9763, allocations: 5.975 MB / 0.8142 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00359/0.9799, allocations: 1.624 MB / 0.8158 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0026/0.9825, allocations: 1.543 MB / 0.8173 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Backend: time 7.01e-07/0.9825, allocations: 0 / 0.8173 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01832/1.001, allocations: 5.237 MB / 0.8225 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01089/1.012, allocations: 6.413 MB / 0.8287 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of Templates: time 0.1019/1.114, allocations: 61.82 MB / 0.8891 GB, free: 6.066 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)