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.001019/0.001019, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.308/1.308, allocations: 223.3 MB / 239 MB, free: 5.426 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.001068/0.001068, allocations: 172.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5249/0.5249, allocations: 91.93 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 16 kB / 0.5042 GB, free: 7.602 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 72.47 MB / 0.5749 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004531/0.3548, allocations: 5.973 MB / 0.5808 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.3577, allocations: 1.903 MB / 0.5826 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005649/0.3583, allocations: 11.47 kB / 0.5826 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.3588, allocations: 175.9 kB / 0.5828 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.3603, allocations: 0.6698 MB / 0.5835 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.3613, allocations: 0.5056 MB / 0.5839 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3624, allocations: 1.413 MB / 0.5853 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.3628, allocations: 257.5 kB / 0.5856 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/0.3633, allocations: 0.5574 MB / 0.5861 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.364, allocations: 0.7244 MB / 0.5868 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.3641, allocations: 62.12 kB / 0.5869 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003715/0.3645, allocations: 178.6 kB / 0.5871 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3647, allocations: 258.3 kB / 0.5873 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3649, allocations: 223.5 kB / 0.5875 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007829/0.3656, allocations: 1.227 MB / 0.5887 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3657, allocations: 1.594 kB / 0.5887 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3657, allocations: 0 / 0.5887 GB, free: 28.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3657, allocations: 5.406 kB / 0.5887 GB, free: 28.51 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007159/0.3729, allocations: 2.506 MB / 0.5912 GB, free: 27.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.3729, allocations: 13 kB / 0.5912 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.3778, allocations: 0.7895 MB / 0.5919 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.3791, allocations: 0.8378 MB / 0.5928 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.3794, allocations: 270.9 kB / 0.593 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.3795, allocations: 78.25 kB / 0.5931 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.3816, allocations: 1.142 MB / 0.5942 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3816, allocations: 0 / 0.5942 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-05/0.3817, allocations: 30.66 kB / 0.5942 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3817, allocations: 21.73 kB / 0.5943 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.3836, allocations: 1.047 MB / 0.5953 GB, free: 25.64 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.005769/0.3894, allocations: 3.894 MB / 0.5991 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/0.3968, allocations: 2.919 MB / 0.6019 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.3981, allocations: 0.7354 MB / 0.6027 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3982, allocations: 17.08 kB / 0.6027 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/0.3999, allocations: 0.8667 MB / 0.6035 GB, free: 21.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.365e-06/0.3999, allocations: 0 / 0.6035 GB, free: 21.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0286/0.4285, allocations: 8.766 MB / 0.6121 GB, free: 20.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4285, allocations: 113.9 kB / 0.6122 GB, free: 20.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.4302, allocations: 1.077 MB / 0.6132 GB, free: 19.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.4305, allocations: 45.61 kB / 0.6133 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.4308, allocations: 494.8 kB / 0.6138 GB, free: 19.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.4311, allocations: 352.3 kB / 0.6141 GB, free: 19.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.4312, allocations: 30.19 kB / 0.6141 GB, free: 19.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.4313, allocations: 360.8 kB / 0.6145 GB, free: 18.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.4329, allocations: 0.8169 MB / 0.6153 GB, free: 18.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.4345, allocations: 0.987 MB / 0.6162 GB, free: 17.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.4361, allocations: 0.945 MB / 0.6172 GB, free: 17.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4362, allocations: 1.25 kB / 0.6172 GB, free: 17.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01221/0.4484, allocations: 5.147 MB / 0.6222 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.4484, allocations: 55.41 kB / 0.6222 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4484, allocations: 4 kB / 0.6222 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/0.4539, allocations: 1.908 MB / 0.6241 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4551, allocations: 299.5 kB / 0.6244 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.4719, allocations: 9.062 MB / 0.6332 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4736, allocations: 234.7 kB / 0.6335 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4737, allocations: 56.14 kB / 0.6335 GB, free: 1.105 MB / 430.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis 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 (160): * Single equations (assignments): 157 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004702/0.4742, allocations: 296.4 kB / 0.6338 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.4744, allocations: 130.4 kB / 0.6339 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.4867, allocations: 4.713 MB / 0.6385 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4867, allocations: 8 kB / 0.6385 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4868, allocations: 15.94 kB / 0.6385 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4868, allocations: 3.984 kB / 0.6385 GB, free: 11.9 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.01443/0.5012, allocations: 6.29 MB / 0.6447 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5012, allocations: 0 / 0.6447 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.5018, allocations: 103.8 kB / 0.6448 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/0.5074, allocations: 1.888 MB / 0.6466 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5075, allocations: 23.97 kB / 0.6467 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.526, allocations: 9.664 MB / 0.6561 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.526, allocations: 4 kB / 0.6561 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/0.5403, allocations: 5.635 MB / 0.6616 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.5407, allocations: 223.4 kB / 0.6618 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.5409, allocations: 24.06 kB / 0.6618 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.542, allocations: 144 kB / 0.662 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.5426, allocations: 192.6 kB / 0.6622 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.5427, allocations: 31.98 kB / 0.6622 GB, free: 3.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.5437, allocations: 0.7198 MB / 0.6629 GB, free: 2.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5437, allocations: 0 / 0.6629 GB, free: 2.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001339/0.545, allocations: 479.5 kB / 0.6633 GB, free: 2.039 MB / 462.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.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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/0.5453, allocations: 131.2 kB / 0.6635 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005968/0.5513, allocations: 2.775 MB / 0.6662 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5513, allocations: 4.125 kB / 0.6662 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.5555, allocations: 1.806 MB / 0.668 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009958/0.5565, allocations: 108.5 kB / 0.6681 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.5602, allocations: 2.59 MB / 0.6706 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.5608, allocations: 1.12 MB / 0.6717 GB, free: 9.371 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004294/0.5612, allocations: 120 kB / 0.6718 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5615, allocations: 79.41 kB / 0.6719 GB, free: 9.172 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5615, allocations: 3.938 kB / 0.6719 GB, free: 9.168 MB / 478.1 MB Notification: Performance of Templates: time 0.03172/0.5932, allocations: 21.33 MB / 0.6927 GB, free: 3.875 MB / 494.1 MB 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)