Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 114 kB / 16.42 MB, free: 6.445 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.337/1.337, allocations: 222.9 MB / 240.1 MB, free: 4.488 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.001318/0.001318, allocations: 184.5 kB / 290.4 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5179/0.5179, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 84.34 kB / 0.5734 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1207, allocations: 71.28 MB / 0.643 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.006808/0.1276, allocations: 6.391 MB / 0.6493 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.1316, allocations: 1.982 MB / 0.6512 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007302/0.1323, allocations: 15.94 kB / 0.6512 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.133, allocations: 238 kB / 0.6514 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.1351, allocations: 0.8365 MB / 0.6523 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1365, allocations: 0.6483 MB / 0.6529 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.1381, allocations: 1.557 MB / 0.6544 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.1386, allocations: 314.3 kB / 0.6547 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.1393, allocations: 0.6418 MB / 0.6553 GB, free: 6.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000864/0.1402, allocations: 0.8169 MB / 0.6561 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.1404, allocations: 116 kB / 0.6562 GB, free: 5.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.1409, allocations: 251.9 kB / 0.6565 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.1412, allocations: 334.6 kB / 0.6568 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.1418, allocations: 0.6602 MB / 0.6574 GB, free: 4.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.1434, allocations: 1.647 MB / 0.6591 GB, free: 3.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1434, allocations: 4 kB / 0.6591 GB, free: 3.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1434, allocations: 0 / 0.6591 GB, free: 3.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.1435, allocations: 0 / 0.6591 GB, free: 3.102 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.009208/0.1527, allocations: 2.664 MB / 0.6617 GB, free: 376 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1527, allocations: 12.03 kB / 0.6617 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.1581, allocations: 0.7671 MB / 0.6624 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.1598, allocations: 0.8825 MB / 0.6633 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.1601, allocations: 234.5 kB / 0.6635 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1603, allocations: 79.91 kB / 0.6636 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.1626, allocations: 1.099 MB / 0.6647 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1626, allocations: 3.938 kB / 0.6647 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.1627, allocations: 28 kB / 0.6647 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1627, allocations: 20 kB / 0.6647 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.1649, allocations: 0.9994 MB / 0.6657 GB, free: 12.14 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.00691/0.1718, allocations: 3.835 MB / 0.6694 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/0.1796, allocations: 2.332 MB / 0.6717 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.1812, allocations: 0.6762 MB / 0.6724 GB, free: 5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.723e-05/0.1813, allocations: 24.97 kB / 0.6724 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1814, allocations: 43.56 kB / 0.6724 GB, free: 4.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.795e-06/0.1814, allocations: 3.938 kB / 0.6724 GB, free: 4.922 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02918/0.2106, allocations: 6.876 MB / 0.6791 GB, free: 14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.2107, allocations: 137.5 kB / 0.6793 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.2124, allocations: 1.087 MB / 0.6803 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.2126, allocations: 45.64 kB / 0.6804 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.213, allocations: 0.489 MB / 0.6809 GB, free: 12.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.2133, allocations: 335.3 kB / 0.6812 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/0.2138, allocations: 275.4 kB / 0.6814 GB, free: 11.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.2139, allocations: 301.1 kB / 0.6817 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.2156, allocations: 0.7543 MB / 0.6825 GB, free: 10.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.2173, allocations: 0.9188 MB / 0.6834 GB, free: 9.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02393/0.2412, allocations: 5.528 MB / 0.6888 GB, free: 3.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.2413, allocations: 4 kB / 0.6888 GB, free: 3.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01402/0.2553, allocations: 4.332 MB / 0.693 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.2554, allocations: 67.34 kB / 0.6931 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2554, allocations: 4 kB / 0.6931 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.2616, allocations: 1.584 MB / 0.6946 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.263, allocations: 251.6 kB / 0.6949 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.2841, allocations: 8.52 MB / 0.7032 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.2859, allocations: 190.8 kB / 0.7034 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.286, allocations: 51.98 kB / 0.7034 GB, free: 4.766 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002046/0.2881, allocations: 0.9398 MB / 0.7043 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001697/0.2898, allocations: 0.9109 MB / 0.7052 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02417/0.314, allocations: 5.497 MB / 0.7106 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.647e-06/0.314, allocations: 4 kB / 0.7106 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.0141/0.3281, allocations: 4.308 MB / 0.7148 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.3282, allocations: 59.41 kB / 0.7148 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3282, allocations: 3.938 kB / 0.7148 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006037/0.3343, allocations: 1.582 MB / 0.7164 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.3357, allocations: 255.6 kB / 0.7166 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.3567, allocations: 8.506 MB / 0.7249 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.3585, allocations: 171 kB / 0.7251 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.3587, allocations: 55.97 kB / 0.7252 GB, free: 14.15 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.3591, allocations: 282.6 kB / 0.7254 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.3593, allocations: 126.4 kB / 0.7256 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.3723, allocations: 3.755 MB / 0.7292 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.3723, allocations: 11.92 kB / 0.7292 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3724, allocations: 7.969 kB / 0.7292 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.3728, allocations: 219.2 kB / 0.7294 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.373, allocations: 24 kB / 0.7295 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.3742, allocations: 99.88 kB / 0.7296 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009588/0.3751, allocations: 420.4 kB / 0.73 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006155/0.3813, allocations: 2.12 MB / 0.732 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004661/0.386, allocations: 2.268 MB / 0.7343 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001348/0.3873, allocations: 0.5777 MB / 0.7348 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001418/0.3888, allocations: 0.7274 MB / 0.7355 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of Backend: time 9.02e-07/0.3888, allocations: 0 / 0.7355 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.3999, allocations: 3.927 MB / 0.7394 GB, free: 15.41 MB / 0.545 GB Notification: Performance of SimCode: time 0.003785/0.4037, allocations: 2.828 MB / 0.7421 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Templates: time 0.2953/0.699, allocations: 33.06 MB / 0.7744 GB, free: 119.8 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)