Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 105.8 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.1 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 180.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.502/0.502, allocations: 91.91 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 78.8 kB / 0.5734 GB, free: 33.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1513, allocations: 71.28 MB / 0.643 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007395/0.1588, allocations: 6.671 MB / 0.6495 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.1633, allocations: 1.986 MB / 0.6515 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1644, allocations: 15.94 kB / 0.6515 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.1653, allocations: 241.9 kB / 0.6517 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1676, allocations: 0.8194 MB / 0.6525 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.169, allocations: 0.6316 MB / 0.6531 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00203/0.1711, allocations: 1.64 MB / 0.6547 GB, free: 7.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.1716, allocations: 334.4 kB / 0.655 GB, free: 7.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1726, allocations: 0.6769 MB / 0.6557 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/0.1736, allocations: 0.8557 MB / 0.6565 GB, free: 5.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.1738, allocations: 128 kB / 0.6567 GB, free: 5.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.1744, allocations: 263.9 kB / 0.6569 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.1747, allocations: 346.5 kB / 0.6572 GB, free: 4.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.1753, allocations: 0.6874 MB / 0.6579 GB, free: 4.141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.1772, allocations: 1.705 MB / 0.6596 GB, free: 2.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1772, allocations: 4 kB / 0.6596 GB, free: 2.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1772, allocations: 4 kB / 0.6596 GB, free: 2.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1772, allocations: 0 / 0.6596 GB, free: 2.422 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009328/0.1866, allocations: 2.75 MB / 0.6623 GB, free: 15.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1866, allocations: 8.031 kB / 0.6623 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005021/0.1916, allocations: 0.7787 MB / 0.663 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.1934, allocations: 0.914 MB / 0.6639 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.1937, allocations: 256.1 kB / 0.6642 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.1939, allocations: 91.89 kB / 0.6643 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.1961, allocations: 1.102 MB / 0.6653 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1962, allocations: 3.938 kB / 0.6653 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/0.1963, allocations: 32 kB / 0.6654 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1963, allocations: 16 kB / 0.6654 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.1983, allocations: 0.9955 MB / 0.6664 GB, free: 11.3 MB / 478.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.006882/0.2052, allocations: 3.863 MB / 0.6701 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.2126, allocations: 2.383 MB / 0.6725 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.2142, allocations: 0.6917 MB / 0.6731 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.2143, allocations: 12.98 kB / 0.6732 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/0.2161, allocations: 0.8255 MB / 0.674 GB, free: 3.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.337e-06/0.2162, allocations: 0 / 0.674 GB, free: 3.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.0301/0.2463, allocations: 7.225 MB / 0.681 GB, free: 11.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.2464, allocations: 115.8 kB / 0.6811 GB, free: 11.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.2486, allocations: 1.123 MB / 0.6822 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002763/0.2489, allocations: 45.7 kB / 0.6823 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.2494, allocations: 0.493 MB / 0.6827 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.25, allocations: 366.9 kB / 0.6831 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/0.2508, allocations: 295.4 kB / 0.6834 GB, free: 9.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2509, allocations: 301.1 kB / 0.6837 GB, free: 9.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.2527, allocations: 0.7769 MB / 0.6844 GB, free: 8.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.2546, allocations: 0.9576 MB / 0.6854 GB, free: 7.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02527/0.2799, allocations: 5.805 MB / 0.691 GB, free: 1.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.28, allocations: 4 kB / 0.691 GB, free: 1.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01501/0.295, allocations: 4.434 MB / 0.6954 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/0.2951, allocations: 67.28 kB / 0.6954 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.2952, allocations: 8 kB / 0.6954 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006162/0.3013, allocations: 1.635 MB / 0.697 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.3029, allocations: 291.6 kB / 0.6973 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.3242, allocations: 8.588 MB / 0.7057 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.3264, allocations: 198.7 kB / 0.7059 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/0.3268, allocations: 59.91 kB / 0.7059 GB, free: 2.016 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009656/0.3278, allocations: 326.8 kB / 0.7063 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.3282, allocations: 126.4 kB / 0.7064 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.3412, allocations: 3.9 MB / 0.7102 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.3413, allocations: 8 kB / 0.7102 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/0.3413, allocations: 8 kB / 0.7102 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.3414, allocations: 7.969 kB / 0.7102 GB, free: 13.61 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.01606/0.3574, allocations: 5.518 MB / 0.7156 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.3575, allocations: 0 / 0.7156 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.3582, allocations: 99.89 kB / 0.7157 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005786/0.364, allocations: 1.591 MB / 0.7172 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/0.3643, allocations: 27.98 kB / 0.7173 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/0.3859, allocations: 9.662 MB / 0.7267 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3859, allocations: 0 / 0.7267 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.4014, allocations: 4.774 MB / 0.7314 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/0.4021, allocations: 227.2 kB / 0.7316 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005362/0.4027, allocations: 31.91 kB / 0.7316 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.4043, allocations: 107.9 kB / 0.7317 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007652/0.405, allocations: 196.7 kB / 0.7319 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.4052, allocations: 20 kB / 0.7319 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00143/0.4067, allocations: 0.7592 MB / 0.7327 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4067, allocations: 0 / 0.7327 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001998/0.4087, allocations: 487.6 kB / 0.7331 GB, free: 5.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.4091, allocations: 143 kB / 0.7333 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007228/0.4163, allocations: 2.597 MB / 0.7358 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4163, allocations: 0 / 0.7358 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004434/0.4208, allocations: 1.583 MB / 0.7373 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.4222, allocations: 129.2 kB / 0.7375 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.4272, allocations: 2.387 MB / 0.7398 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/0.4281, allocations: 1.128 MB / 0.7409 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.4286, allocations: 83.41 kB / 0.741 GB, free: 13.46 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.4286, allocations: 0 / 0.741 GB, free: 13.46 MB / 0.545 GB Notification: Performance of Templates: time 0.03614/0.4647, allocations: 23.99 MB / 0.7644 GB, free: 5.461 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)