Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001059/0.001059, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.432/1.432, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001238/0.001238, allocations: 176 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4928/0.4928, allocations: 78.55 MB / 420.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 16 kB / 0.4887 GB, free: 6.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 69.36 MB / 0.5564 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.2309/0.3726, allocations: 6.215 MB / 0.5625 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.3762, allocations: 2.012 MB / 0.5644 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004845/0.3767, allocations: 10.97 kB / 0.5644 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.3773, allocations: 192 kB / 0.5646 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.3788, allocations: 0.6974 MB / 0.5653 GB, free: 35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.38, allocations: 0.5978 MB / 0.5659 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.3811, allocations: 1.452 MB / 0.5673 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.3815, allocations: 281.7 kB / 0.5676 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.382, allocations: 0.5471 MB / 0.5681 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.3827, allocations: 0.7424 MB / 0.5688 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.3828, allocations: 58.06 kB / 0.5689 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.3832, allocations: 192.7 kB / 0.5691 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.3834, allocations: 261.7 kB / 0.5693 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.3838, allocations: 0.6179 MB / 0.5699 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.3849, allocations: 1.539 MB / 0.5714 GB, free: 33.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3849, allocations: 0.75 kB / 0.5714 GB, free: 33.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3849, allocations: 0 / 0.5714 GB, free: 33.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3849, allocations: 0 / 0.5714 GB, free: 33.4 MB / 430.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.007915/0.3929, allocations: 2.473 MB / 0.5738 GB, free: 32.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3929, allocations: 9.469 kB / 0.5739 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.3976, allocations: 0.775 MB / 0.5746 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.3991, allocations: 0.8917 MB / 0.5755 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.3994, allocations: 237 kB / 0.5757 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.3996, allocations: 79.83 kB / 0.5758 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.4019, allocations: 1.168 MB / 0.5769 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4019, allocations: 0 / 0.5769 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/0.402, allocations: 30.69 kB / 0.577 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.4021, allocations: 15.75 kB / 0.577 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.4041, allocations: 1.07 MB / 0.578 GB, free: 31.68 MB / 430.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.006248/0.4104, allocations: 3.938 MB / 0.5819 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007722/0.4181, allocations: 2.893 MB / 0.5847 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.4198, allocations: 0.7518 MB / 0.5854 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.4199, allocations: 16.03 kB / 0.5854 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4199, allocations: 44 kB / 0.5855 GB, free: 29.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.996e-06/0.4199, allocations: 0 / 0.5855 GB, free: 29.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03165/0.4516, allocations: 8.47 MB / 0.5937 GB, free: 27.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.4517, allocations: 140.6 kB / 0.5939 GB, free: 27.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.4542, allocations: 1.083 MB / 0.5949 GB, free: 27.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003215/0.4545, allocations: 41.83 kB / 0.595 GB, free: 27.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/0.455, allocations: 499.5 kB / 0.5955 GB, free: 26.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005381/0.4555, allocations: 341.1 kB / 0.5958 GB, free: 26.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/0.456, allocations: 138.5 kB / 0.5959 GB, free: 26.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.456, allocations: 309.1 kB / 0.5962 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.458, allocations: 0.8128 MB / 0.597 GB, free: 25.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.4602, allocations: 0.9886 MB / 0.598 GB, free: 25.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02652/0.4867, allocations: 5.97 MB / 0.6038 GB, free: 23.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.4868, allocations: 1.188 kB / 0.6038 GB, free: 23.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01725/0.504, allocations: 5.175 MB / 0.6089 GB, free: 22.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.5042, allocations: 235.4 kB / 0.6091 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.5043, allocations: 3.156 kB / 0.6091 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006817/0.5111, allocations: 1.866 MB / 0.6109 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.5126, allocations: 262.3 kB / 0.6112 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.5319, allocations: 8.848 MB / 0.6198 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.5341, allocations: 214.8 kB / 0.62 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/0.5344, allocations: 51.97 kB / 0.62 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5344, allocations: 8.938 kB / 0.6201 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01386/0.5483, allocations: 5.012 MB / 0.6249 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.5484, allocations: 4 kB / 0.625 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.5543, allocations: 1.861 MB / 0.6268 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.5556, allocations: 259.6 kB / 0.627 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.5755, allocations: 8.834 MB / 0.6356 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.5776, allocations: 203 kB / 0.6358 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.578, allocations: 55.92 kB / 0.6359 GB, free: 11.79 MB / 446.1 MB 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.001086/0.5791, allocations: 381.9 kB / 0.6363 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/0.5796, allocations: 128.2 kB / 0.6364 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.5937, allocations: 4.595 MB / 0.6409 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/0.5938, allocations: 12 kB / 0.6409 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.5938, allocations: 8 kB / 0.6409 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/0.5939, allocations: 11.97 kB / 0.6409 GB, free: 6.633 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01771/0.6116, allocations: 6.226 MB / 0.647 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.6116, allocations: 4 kB / 0.647 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008227/0.6125, allocations: 115.8 kB / 0.6471 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005816/0.6183, allocations: 1.789 MB / 0.6488 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/0.6186, allocations: 20 kB / 0.6489 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.6368, allocations: 7.642 MB / 0.6563 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6369, allocations: 0 / 0.6563 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.6532, allocations: 5.514 MB / 0.6617 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.6538, allocations: 231.2 kB / 0.6619 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005048/0.6544, allocations: 16.94 kB / 0.6619 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.656, allocations: 139.9 kB / 0.6621 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006975/0.6567, allocations: 180.7 kB / 0.6622 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.6568, allocations: 24 kB / 0.6623 GB, free: 448 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.6583, allocations: 0.7329 MB / 0.663 GB, free: 15.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6583, allocations: 4 kB / 0.663 GB, free: 15.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002804/0.6611, allocations: 0.7491 MB / 0.6637 GB, free: 14.94 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003345/0.6615, allocations: 133.3 kB / 0.6638 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01245/0.6739, allocations: 4.863 MB / 0.6686 GB, free: 9.883 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.674, allocations: 4 kB / 0.6686 GB, free: 9.879 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004708/0.6787, allocations: 1.652 MB / 0.6702 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6804, allocations: 113.7 kB / 0.6703 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.6853, allocations: 2.731 MB / 0.673 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.6861, allocations: 1.137 MB / 0.6741 GB, free: 4.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007879/0.6869, allocations: 151 kB / 0.6742 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.6873, allocations: 75.41 kB / 0.6743 GB, free: 3.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6873, allocations: 1.125 kB / 0.6743 GB, free: 3.98 MB / 478.1 MB Notification: Performance of Templates: time 0.04407/0.7314, allocations: 26.56 MB / 0.7003 GB, free: 9.613 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1) Environment - environmentSimulation: