Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004852/0.004852, allocations: 170 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.2 MB / 239 MB, free: 1.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 97.48 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4334/0.4334, allocations: 78.58 MB / 419.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 499.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2959, allocations: 69.35 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004729/0.3007, allocations: 5.736 MB / 0.5614 GB, free: 37.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3037, allocations: 1.952 MB / 0.5633 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.3041, allocations: 10.94 kB / 0.5633 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.3046, allocations: 172 kB / 0.5634 GB, free: 36.37 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.3061, allocations: 0.717 MB / 0.5641 GB, free: 35.9 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3071, allocations: 0.5196 MB / 0.5647 GB, free: 35.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.3082, allocations: 0.9916 MB / 0.5656 GB, free: 35.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.3086, allocations: 272.4 kB / 0.5659 GB, free: 34.99 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000742/0.3094, allocations: 0.5613 MB / 0.5664 GB, free: 34.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.3101, allocations: 0.7092 MB / 0.5671 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3102, allocations: 58.88 kB / 0.5672 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.3106, allocations: 177 kB / 0.5673 GB, free: 34.4 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.3108, allocations: 249.5 kB / 0.5676 GB, free: 34.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.311, allocations: 230.6 kB / 0.5678 GB, free: 34.11 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008536/0.3119, allocations: 1.192 MB / 0.569 GB, free: 33.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3119, allocations: 0 / 0.569 GB, free: 33.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3119, allocations: 0 / 0.569 GB, free: 33.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3119, allocations: 0 / 0.569 GB, free: 33.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007416/0.3193, allocations: 2.506 MB / 0.5714 GB, free: 32.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.3194, allocations: 10.56 kB / 0.5714 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.324, allocations: 0.7778 MB / 0.5722 GB, free: 32.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.3252, allocations: 0.8447 MB / 0.573 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.3254, allocations: 271.7 kB / 0.5733 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.3256, allocations: 82.09 kB / 0.5733 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.3274, allocations: 1.136 MB / 0.5745 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.3275, allocations: 0 / 0.5745 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3276, allocations: 40 kB / 0.5745 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3276, allocations: 21.58 kB / 0.5745 GB, free: 31.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.3294, allocations: 1.037 MB / 0.5755 GB, free: 30.89 MB / 426.7 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.005621/0.3351, allocations: 4.114 MB / 0.5795 GB, free: 28.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007547/0.3426, allocations: 2.91 MB / 0.5824 GB, free: 27.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.883e-05/0.3427, allocations: 16.58 kB / 0.5824 GB, free: 27.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.3442, allocations: 0.8724 MB / 0.5833 GB, free: 27.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 2.455e-06/0.3442, allocations: 7.938 kB / 0.5833 GB, free: 27.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.02937/0.3735, allocations: 8.634 MB / 0.5917 GB, free: 25.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3736, allocations: 117.1 kB / 0.5918 GB, free: 25.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.3751, allocations: 1.068 MB / 0.5928 GB, free: 25.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.3753, allocations: 47.2 kB / 0.5929 GB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.3756, allocations: 0.4925 MB / 0.5934 GB, free: 24.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.376, allocations: 351.1 kB / 0.5937 GB, free: 24.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.3761, allocations: 30.97 kB / 0.5937 GB, free: 24.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.3762, allocations: 362.6 kB / 0.5941 GB, free: 24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.3777, allocations: 0.8208 MB / 0.5949 GB, free: 23.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.3795, allocations: 0.9835 MB / 0.5958 GB, free: 23.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.3812, allocations: 0.9597 MB / 0.5968 GB, free: 22.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.3812, allocations: 5.359 kB / 0.5968 GB, free: 22.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01516/0.3964, allocations: 5.157 MB / 0.6018 GB, free: 21.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.3965, allocations: 60.48 kB / 0.6019 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3965, allocations: 2.594 kB / 0.6019 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006698/0.4032, allocations: 1.904 MB / 0.6037 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.4047, allocations: 298.5 kB / 0.604 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.4248, allocations: 9.447 MB / 0.6133 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.4267, allocations: 238.6 kB / 0.6135 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4268, allocations: 59.97 kB / 0.6135 GB, free: 14.6 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (164): * Single equations (assignments): 161 * 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.0004997/0.4273, allocations: 302.3 kB / 0.6138 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4275, allocations: 126.4 kB / 0.6139 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.4404, allocations: 4.709 MB / 0.6185 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.4405, allocations: 12 kB / 0.6186 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.4405, allocations: 8 kB / 0.6186 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/0.4405, allocations: 11.88 kB / 0.6186 GB, free: 9.395 MB / 426.7 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.0145/0.455, allocations: 6.351 MB / 0.6248 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.4551, allocations: 0 / 0.6248 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.4557, allocations: 103.9 kB / 0.6249 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005469/0.4612, allocations: 1.883 MB / 0.6267 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.4614, allocations: 23.98 kB / 0.6267 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/0.4823, allocations: 10.09 MB / 0.6366 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4823, allocations: 3.953 kB / 0.6366 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.4978, allocations: 5.646 MB / 0.6421 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/0.4984, allocations: 231.2 kB / 0.6423 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.4985, allocations: 16 kB / 0.6423 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.4997, allocations: 148.1 kB / 0.6425 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/0.5003, allocations: 204.7 kB / 0.6427 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.5003, allocations: 24 kB / 0.6427 GB, free: 216 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.5014, allocations: 0.7196 MB / 0.6434 GB, free: 15.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5014, allocations: 0 / 0.6434 GB, free: 15.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001398/0.5028, allocations: 479.4 kB / 0.6439 GB, free: 15.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/0.5031, allocations: 138.4 kB / 0.644 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006445/0.5095, allocations: 2.776 MB / 0.6467 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5095, allocations: 0 / 0.6467 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004616/0.5142, allocations: 1.822 MB / 0.6485 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.5149, allocations: 102.6 kB / 0.6486 GB, free: 10.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.5187, allocations: 2.665 MB / 0.6512 GB, free: 7.414 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.5193, allocations: 1.151 MB / 0.6523 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004556/0.5197, allocations: 116 kB / 0.6524 GB, free: 6.113 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.52, allocations: 75.41 kB / 0.6525 GB, free: 6.039 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.52, allocations: 0 / 0.6525 GB, free: 6.039 MB / 458.7 MB Notification: Performance of Templates: time 0.03116/0.5512, allocations: 21.28 MB / 0.6733 GB, free: 0.7812 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)