Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.397/1.397, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001598/0.001598, allocations: 196.3 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5206/0.5206, allocations: 91.91 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 82.89 kB / 0.5734 GB, free: 33.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1493, allocations: 71.28 MB / 0.643 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.006748/0.1561, allocations: 6.593 MB / 0.6495 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.1599, allocations: 2.044 MB / 0.6515 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.1603, allocations: 15.94 kB / 0.6515 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.161, allocations: 238 kB / 0.6517 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.1628, allocations: 0.8638 MB / 0.6525 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1641, allocations: 0.6734 MB / 0.6532 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1657, allocations: 1.628 MB / 0.6548 GB, free: 7.477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.1661, allocations: 330.3 kB / 0.6551 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007065/0.1668, allocations: 0.6614 MB / 0.6557 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.1677, allocations: 0.8675 MB / 0.6566 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1679, allocations: 128 kB / 0.6567 GB, free: 5.484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.1684, allocations: 267.8 kB / 0.657 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.1687, allocations: 354.5 kB / 0.6573 GB, free: 4.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005475/0.1693, allocations: 0.6913 MB / 0.658 GB, free: 4.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1709, allocations: 1.723 MB / 0.6597 GB, free: 2.449 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1709, allocations: 4 kB / 0.6597 GB, free: 2.445 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1709, allocations: 0 / 0.6597 GB, free: 2.445 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.1709, allocations: 0 / 0.6597 GB, free: 2.445 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.008682/0.1796, allocations: 2.796 MB / 0.6624 GB, free: 15.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1797, allocations: 12.03 kB / 0.6624 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.1847, allocations: 0.7796 MB / 0.6632 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1863, allocations: 0.9422 MB / 0.6641 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.1865, allocations: 226.5 kB / 0.6643 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1867, allocations: 87.95 kB / 0.6644 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.1888, allocations: 1.122 MB / 0.6655 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1889, allocations: 0 / 0.6655 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.189, allocations: 28 kB / 0.6655 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.189, allocations: 20 kB / 0.6655 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.191, allocations: 1.015 MB / 0.6665 GB, free: 11.25 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.006772/0.1978, allocations: 3.942 MB / 0.6704 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/0.205, allocations: 2.372 MB / 0.6727 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.2066, allocations: 0.7035 MB / 0.6734 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.2067, allocations: 16.98 kB / 0.6734 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2067, allocations: 47.56 kB / 0.6734 GB, free: 3.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.647e-06/0.2067, allocations: 0 / 0.6734 GB, free: 3.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02647/0.2332, allocations: 6.76 MB / 0.68 GB, free: 13.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.2333, allocations: 137.5 kB / 0.6802 GB, free: 12.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.2354, allocations: 1.135 MB / 0.6813 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.2357, allocations: 45.7 kB / 0.6813 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.2361, allocations: 0.5015 MB / 0.6818 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.2367, allocations: 368.9 kB / 0.6822 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006708/0.2374, allocations: 287.5 kB / 0.6824 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.2375, allocations: 305.1 kB / 0.6827 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.2392, allocations: 0.8012 MB / 0.6835 GB, free: 9.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.241, allocations: 0.9663 MB / 0.6845 GB, free: 8.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02598/0.267, allocations: 5.907 MB / 0.6902 GB, free: 2.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.2671, allocations: 8 kB / 0.6902 GB, free: 2.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01489/0.282, allocations: 4.481 MB / 0.6946 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.2821, allocations: 59.41 kB / 0.6947 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.2821, allocations: 4 kB / 0.6947 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/0.2886, allocations: 1.658 MB / 0.6963 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.2903, allocations: 279.6 kB / 0.6966 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/0.3127, allocations: 8.638 MB / 0.705 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.3149, allocations: 203.2 kB / 0.7052 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/0.3152, allocations: 59.91 kB / 0.7052 GB, free: 2.871 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002537/0.3178, allocations: 0.9774 MB / 0.7062 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001978/0.3198, allocations: 0.9585 MB / 0.7071 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02584/0.3456, allocations: 5.868 MB / 0.7129 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.605e-06/0.3457, allocations: 0 / 0.7129 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194) (initialization_lambda0): time 0.01477/0.3605, allocations: 4.469 MB / 0.7172 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.3606, allocations: 59.34 kB / 0.7173 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.3606, allocations: 4 kB / 0.7173 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006425/0.367, allocations: 1.66 MB / 0.7189 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.3686, allocations: 275.6 kB / 0.7192 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.3906, allocations: 8.632 MB / 0.7276 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.393, allocations: 183.3 kB / 0.7278 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003953/0.3934, allocations: 59.92 kB / 0.7278 GB, free: 11.41 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (161): * Single equations (assignments): 158 * 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.0008264/0.3942, allocations: 292.8 kB / 0.7281 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/0.3949, allocations: 135.1 kB / 0.7282 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.4076, allocations: 3.802 MB / 0.732 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/0.4077, allocations: 3.984 kB / 0.732 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.4077, allocations: 7.938 kB / 0.732 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.4083, allocations: 232 kB / 0.7322 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.4088, allocations: 24 kB / 0.7322 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.4103, allocations: 103.9 kB / 0.7323 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/0.4115, allocations: 420.3 kB / 0.7327 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006799/0.4183, allocations: 2.233 MB / 0.7349 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004862/0.4232, allocations: 2.347 MB / 0.7372 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001316/0.4245, allocations: 0.5856 MB / 0.7378 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001452/0.426, allocations: 0.7711 MB / 0.7385 GB, free: 372 kB / 0.5294 GB Notification: Performance of Backend: time 4.71e-07/0.426, allocations: 3.938 kB / 0.7385 GB, free: 368 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01215/0.4382, allocations: 4.107 MB / 0.7425 GB, free: 12.16 MB / 0.545 GB Notification: Performance of SimCode: time 0.004845/0.4431, allocations: 3.106 MB / 0.7456 GB, free: 9 MB / 0.545 GB Notification: Performance of Templates: time 0.3837/0.8268, allocations: 34.85 MB / 0.7796 GB, free: 115.8 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)