Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001163, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.311/1.311, allocations: 223.2 MB / 238.9 MB, free: 5.566 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.001114/0.001114, allocations: 181.1 kB / 290.2 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4783/0.4783, allocations: 79.44 MB / 420.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004046, allocations: 12 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 69.5 MB / 0.5569 GB, free: 64 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.2542/0.3935, allocations: 5.743 MB / 0.5625 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.3975, allocations: 1.943 MB / 0.5644 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.3981, allocations: 11.72 kB / 0.5644 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.3988, allocations: 174.4 kB / 0.5646 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.4005, allocations: 0.7208 MB / 0.5653 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4017, allocations: 0.5148 MB / 0.5658 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.4031, allocations: 1.006 MB / 0.5667 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.4034, allocations: 264.2 kB / 0.567 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.4041, allocations: 0.5605 MB / 0.5675 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.4047, allocations: 0.7118 MB / 0.5682 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.4049, allocations: 61.16 kB / 0.5683 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.4053, allocations: 167.3 kB / 0.5685 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.4055, allocations: 252.9 kB / 0.5687 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.4057, allocations: 227.5 kB / 0.5689 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009381/0.4067, allocations: 1.188 MB / 0.5701 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.4067, allocations: 0 / 0.5701 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4067, allocations: 2.844 kB / 0.5701 GB, free: 35.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4067, allocations: 0 / 0.5701 GB, free: 35.76 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00771/0.4144, allocations: 2.502 MB / 0.5725 GB, free: 34.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4145, allocations: 11.31 kB / 0.5725 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.4194, allocations: 0.7824 MB / 0.5733 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.421, allocations: 0.8359 MB / 0.5741 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.4213, allocations: 271.7 kB / 0.5744 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.4215, allocations: 90.47 kB / 0.5745 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.4235, allocations: 1.135 MB / 0.5756 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4236, allocations: 6.625 kB / 0.5756 GB, free: 33.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.4236, allocations: 29.25 kB / 0.5756 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4237, allocations: 22.33 kB / 0.5756 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.4255, allocations: 1.039 MB / 0.5766 GB, free: 32.95 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.006099/0.4316, allocations: 4.148 MB / 0.5807 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/0.439, allocations: 2.902 MB / 0.5835 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.974e-05/0.4392, allocations: 24.81 kB / 0.5835 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.4409, allocations: 0.8737 MB / 0.5844 GB, free: 29.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.514e-06/0.4409, allocations: 0 / 0.5844 GB, free: 29.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03037/0.4713, allocations: 8.632 MB / 0.5928 GB, free: 27.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.4714, allocations: 113.3 kB / 0.5929 GB, free: 27.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.4732, allocations: 1.073 MB / 0.594 GB, free: 27.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000238/0.4734, allocations: 46.53 kB / 0.594 GB, free: 27.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.4738, allocations: 490.6 kB / 0.5945 GB, free: 26.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.4742, allocations: 360.7 kB / 0.5948 GB, free: 26.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.4743, allocations: 31.12 kB / 0.5949 GB, free: 26.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4744, allocations: 361 kB / 0.5952 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.476, allocations: 0.8221 MB / 0.596 GB, free: 25.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.4778, allocations: 0.9892 MB / 0.597 GB, free: 25.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4797, allocations: 0.9498 MB / 0.5979 GB, free: 24.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4797, allocations: 7.047 kB / 0.5979 GB, free: 24.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01684/0.4966, allocations: 5.157 MB / 0.6029 GB, free: 23.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.4967, allocations: 64.02 kB / 0.603 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.4967, allocations: 3.375 kB / 0.603 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006934/0.5037, allocations: 1.9 MB / 0.6049 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.5055, allocations: 298.1 kB / 0.6052 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/0.5272, allocations: 9.45 MB / 0.6144 GB, free: 17.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.5293, allocations: 240.5 kB / 0.6146 GB, free: 17.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.5294, allocations: 55.98 kB / 0.6147 GB, free: 17.36 MB / 430.1 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.0006026/0.53, allocations: 308 kB / 0.615 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.5303, allocations: 122.5 kB / 0.6151 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.5426, allocations: 4.709 MB / 0.6197 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.5427, allocations: 8 kB / 0.6197 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.5427, allocations: 8 kB / 0.6197 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.5427, allocations: 15.86 kB / 0.6197 GB, free: 12.16 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.01472/0.5575, allocations: 6.353 MB / 0.6259 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5575, allocations: 1 kB / 0.6259 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.5581, allocations: 95.91 kB / 0.626 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005382/0.5635, allocations: 1.876 MB / 0.6278 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.5637, allocations: 27.98 kB / 0.6279 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/0.5845, allocations: 10.11 MB / 0.6377 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5845, allocations: 2.062 kB / 0.6377 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.6003, allocations: 5.642 MB / 0.6432 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.6009, allocations: 231.2 kB / 0.6435 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/0.6013, allocations: 24 kB / 0.6435 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.6028, allocations: 143.9 kB / 0.6436 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006451/0.6034, allocations: 200.6 kB / 0.6438 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.6035, allocations: 25.12 kB / 0.6438 GB, free: 2.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001327/0.6049, allocations: 0.7157 MB / 0.6445 GB, free: 2.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6049, allocations: 0 / 0.6445 GB, free: 2.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001964/0.6068, allocations: 475.6 kB / 0.645 GB, free: 1.793 MB / 446.1 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.6072, allocations: 137.7 kB / 0.6451 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007024/0.6142, allocations: 2.775 MB / 0.6478 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6143, allocations: 0.75 kB / 0.6478 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004567/0.6189, allocations: 1.81 MB / 0.6496 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.6199, allocations: 101.2 kB / 0.6497 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/0.6247, allocations: 2.67 MB / 0.6523 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/0.6256, allocations: 1.147 MB / 0.6534 GB, free: 9.066 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005255/0.6261, allocations: 119.9 kB / 0.6535 GB, free: 8.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.6264, allocations: 79.41 kB / 0.6536 GB, free: 8.871 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6264, allocations: 0 / 0.6536 GB, free: 8.871 MB / 462.1 MB Notification: Performance of Templates: time 0.03705/0.6635, allocations: 21.24 MB / 0.6744 GB, free: 3.84 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)