Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0826/0.0826, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 239.5 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 172.5 kB / 290.6 MB, free: 15.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4924/0.4924, allocations: 78.53 MB / 420.1 MB, free: 32.63 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009129/0.0009132, allocations: 34.66 kB / 0.4895 GB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4112, allocations: 69.23 MB / 0.5571 GB, free: 37.67 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.00578/0.417, allocations: 6.122 MB / 0.563 GB, free: 33.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.4213, allocations: 1.915 MB / 0.5649 GB, free: 31.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.422, allocations: 15.38 kB / 0.5649 GB, free: 31.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.4227, allocations: 172.1 kB / 0.5651 GB, free: 31.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.4245, allocations: 0.6749 MB / 0.5657 GB, free: 31.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4257, allocations: 0.5241 MB / 0.5663 GB, free: 31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.4271, allocations: 1.453 MB / 0.5677 GB, free: 30.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.4276, allocations: 263.9 kB / 0.5679 GB, free: 30.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.4283, allocations: 0.5705 MB / 0.5685 GB, free: 29.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.4291, allocations: 0.7591 MB / 0.5692 GB, free: 29.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4292, allocations: 68.47 kB / 0.5693 GB, free: 29.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.4297, allocations: 181 kB / 0.5695 GB, free: 29.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.43, allocations: 263.9 kB / 0.5697 GB, free: 29.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.4302, allocations: 236.6 kB / 0.5699 GB, free: 29.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.4312, allocations: 1.263 MB / 0.5712 GB, free: 28.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4312, allocations: 0 / 0.5712 GB, free: 28.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4312, allocations: 2.625 kB / 0.5712 GB, free: 28.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4313, allocations: 0 / 0.5712 GB, free: 28.89 MB / 414.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.007458/0.4387, allocations: 2.569 MB / 0.5737 GB, free: 27.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4388, allocations: 12.7 kB / 0.5737 GB, free: 27.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.4437, allocations: 0.7805 MB / 0.5745 GB, free: 27.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.4455, allocations: 0.8703 MB / 0.5753 GB, free: 27.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.4458, allocations: 275.2 kB / 0.5756 GB, free: 26.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.446, allocations: 84 kB / 0.5757 GB, free: 26.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.4481, allocations: 1.149 MB / 0.5768 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.4481, allocations: 3.25 kB / 0.5768 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/0.4482, allocations: 30.44 kB / 0.5768 GB, free: 26.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4483, allocations: 25.7 kB / 0.5768 GB, free: 26.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4503, allocations: 1.057 MB / 0.5779 GB, free: 25.98 MB / 414.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.007841/0.4582, allocations: 3.959 MB / 0.5817 GB, free: 23.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00778/0.466, allocations: 2.931 MB / 0.5846 GB, free: 22.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.4677, allocations: 0.75 MB / 0.5853 GB, free: 22.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.4678, allocations: 16.52 kB / 0.5853 GB, free: 22.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.4697, allocations: 0.8902 MB / 0.5862 GB, free: 22.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.206e-06/0.4697, allocations: 0 / 0.5862 GB, free: 22.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02931/0.499, allocations: 8.797 MB / 0.5948 GB, free: 18.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.4991, allocations: 118 kB / 0.5949 GB, free: 18.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.5008, allocations: 1.115 MB / 0.596 GB, free: 17.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.5011, allocations: 45.7 kB / 0.596 GB, free: 17.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.5014, allocations: 0.4968 MB / 0.5965 GB, free: 16.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.5017, allocations: 362.9 kB / 0.5969 GB, free: 16.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.5018, allocations: 36 kB / 0.5969 GB, free: 16.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.5019, allocations: 369.8 kB / 0.5973 GB, free: 16.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.5033, allocations: 0.8355 MB / 0.5981 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.5048, allocations: 1.008 MB / 0.5991 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.5063, allocations: 0.9757 MB / 0.6 GB, free: 13.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5063, allocations: 0 / 0.6 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01207/0.5184, allocations: 5.196 MB / 0.6051 GB, free: 8.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.5185, allocations: 59.41 kB / 0.6051 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.5185, allocations: 4 kB / 0.6051 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005434/0.524, allocations: 1.931 MB / 0.607 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.5257, allocations: 311.6 kB / 0.6073 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/0.5437, allocations: 8.99 MB / 0.6161 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.5459, allocations: 242.7 kB / 0.6163 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.546, allocations: 51.98 kB / 0.6164 GB, free: 12.38 MB / 430.1 MB 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006958/0.5467, allocations: 312.4 kB / 0.6167 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.5469, allocations: 130.4 kB / 0.6168 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.5594, allocations: 4.736 MB / 0.6214 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.5595, allocations: 8 kB / 0.6214 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.5595, allocations: 8 kB / 0.6215 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.5595, allocations: 7.969 kB / 0.6215 GB, free: 7.145 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 postOpt removeSimpleEquations (simulation): time 0.01496/0.5745, allocations: 6.36 MB / 0.6277 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.5746, allocations: 3.938 kB / 0.6277 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.5752, allocations: 99.89 kB / 0.6278 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005426/0.5806, allocations: 1.867 MB / 0.6296 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.5808, allocations: 23.98 kB / 0.6296 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.5999, allocations: 9.695 MB / 0.6391 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5999, allocations: 0 / 0.6391 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.6146, allocations: 5.682 MB / 0.6446 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/0.6153, allocations: 231.2 kB / 0.6449 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.6154, allocations: 20 kB / 0.6449 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6166, allocations: 151.9 kB / 0.645 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000602/0.6172, allocations: 188.7 kB / 0.6452 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.6173, allocations: 31.98 kB / 0.6452 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.6184, allocations: 0.7475 MB / 0.646 GB, free: 13.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6185, allocations: 0 / 0.646 GB, free: 13.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001536/0.62, allocations: 487.6 kB / 0.6464 GB, free: 13.11 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.6203, allocations: 135 kB / 0.6466 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006324/0.6266, allocations: 2.841 MB / 0.6493 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6266, allocations: 0 / 0.6493 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004056/0.6307, allocations: 1.802 MB / 0.6511 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.6317, allocations: 116.3 kB / 0.6512 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.6359, allocations: 2.779 MB / 0.6539 GB, free: 5.344 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.6366, allocations: 1.132 MB / 0.655 GB, free: 4.184 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004567/0.6371, allocations: 120.1 kB / 0.6551 GB, free: 4.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.6373, allocations: 79.41 kB / 0.6552 GB, free: 3.984 MB / 462.1 MB Notification: Performance of SimCode: time 5.2e-07/0.6373, allocations: 0 / 0.6552 GB, free: 3.984 MB / 462.1 MB Notification: Performance of Templates: time 0.03251/0.6699, allocations: 21.7 MB / 0.6764 GB, free: 14.28 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: