Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 110.9 kB / 16.42 MB, free: 6.512 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.376/1.376, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001387/0.001387, allocations: 187.8 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5242/0.5242, allocations: 91.91 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 77.48 kB / 0.5734 GB, free: 33.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1178, allocations: 71.29 MB / 0.643 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007289/0.1251, allocations: 6.519 MB / 0.6494 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.1292, allocations: 1.958 MB / 0.6513 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.1299, allocations: 8 kB / 0.6513 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.1306, allocations: 238 kB / 0.6515 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.1325, allocations: 0.8486 MB / 0.6524 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1338, allocations: 0.6269 MB / 0.653 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.1354, allocations: 1.588 MB / 0.6545 GB, free: 7.863 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.1358, allocations: 330.4 kB / 0.6548 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007355/0.1366, allocations: 0.6535 MB / 0.6555 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.1374, allocations: 0.8323 MB / 0.6563 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.1376, allocations: 120 kB / 0.6564 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.1381, allocations: 259.9 kB / 0.6567 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.1384, allocations: 330.6 kB / 0.657 GB, free: 5.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.139, allocations: 0.6641 MB / 0.6576 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.1405, allocations: 1.662 MB / 0.6592 GB, free: 3.008 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1405, allocations: 4 kB / 0.6592 GB, free: 3.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1405, allocations: 0 / 0.6592 GB, free: 3.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.1406, allocations: 0 / 0.6592 GB, free: 3.004 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008948/0.1495, allocations: 2.676 MB / 0.6619 GB, free: 264 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1496, allocations: 8.031 kB / 0.6619 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.1549, allocations: 0.7826 MB / 0.6626 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.1564, allocations: 0.8902 MB / 0.6635 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.1567, allocations: 252.2 kB / 0.6637 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.1569, allocations: 83.98 kB / 0.6638 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.1591, allocations: 1.083 MB / 0.6649 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1592, allocations: 4 kB / 0.6649 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.1593, allocations: 32 kB / 0.6649 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1593, allocations: 19.94 kB / 0.6649 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.1614, allocations: 0.9838 MB / 0.6659 GB, free: 12.02 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.00651/0.1679, allocations: 3.8 MB / 0.6696 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/0.1756, allocations: 2.365 MB / 0.6719 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.177, allocations: 0.6761 MB / 0.6726 GB, free: 4.895 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-05/0.1771, allocations: 16.98 kB / 0.6726 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.1788, allocations: 0.8137 MB / 0.6734 GB, free: 4.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.828e-06/0.1788, allocations: 11.98 kB / 0.6734 GB, free: 4.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.03025/0.2091, allocations: 7.183 MB / 0.6804 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.2092, allocations: 115.8 kB / 0.6805 GB, free: 12.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.2109, allocations: 1.098 MB / 0.6816 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.2111, allocations: 45.69 kB / 0.6816 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.2114, allocations: 492.8 kB / 0.6821 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/0.2118, allocations: 355.1 kB / 0.6824 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/0.2123, allocations: 283.4 kB / 0.6827 GB, free: 10.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.2124, allocations: 305.1 kB / 0.683 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.2141, allocations: 0.7535 MB / 0.6837 GB, free: 9.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.2158, allocations: 0.9225 MB / 0.6846 GB, free: 8.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02428/0.2401, allocations: 5.563 MB / 0.6901 GB, free: 2.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.2402, allocations: 0 / 0.6901 GB, free: 2.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01513/0.2553, allocations: 4.36 MB / 0.6943 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.2554, allocations: 63.34 kB / 0.6944 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.2554, allocations: 4 kB / 0.6944 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006003/0.2614, allocations: 1.584 MB / 0.6959 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.2629, allocations: 279.6 kB / 0.6962 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.2843, allocations: 8.502 MB / 0.7045 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.2863, allocations: 202.8 kB / 0.7047 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.2865, allocations: 51.98 kB / 0.7048 GB, free: 3.469 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: 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 (160): * Single equations (assignments): 157 * 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.000741/0.2873, allocations: 308 kB / 0.7051 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.2876, allocations: 122.5 kB / 0.7052 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.3013, allocations: 3.869 MB / 0.7089 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.3014, allocations: 3.984 kB / 0.709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3014, allocations: 4 kB / 0.709 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.3019, allocations: 223.3 kB / 0.7092 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.3022, allocations: 19.98 kB / 0.7092 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.3035, allocations: 111.8 kB / 0.7093 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/0.3046, allocations: 436.3 kB / 0.7097 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006646/0.3112, allocations: 2.226 MB / 0.7119 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004888/0.3161, allocations: 2.254 MB / 0.7141 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001407/0.3175, allocations: 0.5622 MB / 0.7146 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001354/0.3189, allocations: 0.7431 MB / 0.7154 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of Backend: time 1.112e-06/0.3189, allocations: 0 / 0.7154 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006863/0.3258, allocations: 2.094 MB / 0.7174 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004324/0.3302, allocations: 2.874 MB / 0.7202 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.03982/0.37, allocations: 22.73 MB / 0.7424 GB, free: 12.68 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)