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.0009585/0.0009585, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.233/1.233, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.000828, allocations: 95.72 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4374/0.4374, allocations: 78.07 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.71e-05, allocations: 7.984 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3553, allocations: 69.33 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4718, allocations: 98.82 MB / 0.6445 GB, free: 1.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4721, allocations: 79.95 kB / 0.6446 GB, free: 1.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3537/0.8258, allocations: 36.44 MB / 0.6802 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8258, allocations: 0.8906 kB / 0.6802 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.313e-05/0.8259, allocations: 28.83 kB / 0.6802 GB, free: 106.1 MB / 490.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.00472/0.8306, allocations: 1.698 MB / 0.6818 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.8307, allocations: 8.656 kB / 0.6819 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.8341, allocations: 0.5578 MB / 0.6824 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.8354, allocations: 0.7903 MB / 0.6832 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.8356, allocations: 263.1 kB / 0.6834 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.8358, allocations: 84.92 kB / 0.6835 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.8374, allocations: 0.9355 MB / 0.6844 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.8375, allocations: 0.8438 kB / 0.6844 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.8376, allocations: 36.08 kB / 0.6845 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.8376, allocations: 20.53 kB / 0.6845 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.8391, allocations: 0.836 MB / 0.6853 GB, free: 104.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005952/0.8451, allocations: 3.794 MB / 0.689 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/0.8518, allocations: 2.658 MB / 0.6916 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009036/0.8527, allocations: 0.5483 MB / 0.6921 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.8529, allocations: 14.81 kB / 0.6921 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.8539, allocations: 0.6702 MB / 0.6928 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.936e-06/0.854, allocations: 0 / 0.6928 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01161/0.8656, allocations: 4.034 MB / 0.6967 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.8656, allocations: 111.3 kB / 0.6968 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.8668, allocations: 0.8807 MB / 0.6977 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.867, allocations: 45.7 kB / 0.6977 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.8672, allocations: 0.505 MB / 0.6982 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.8675, allocations: 342.2 kB / 0.6986 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.8676, allocations: 22.22 kB / 0.6986 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.8677, allocations: 341.5 kB / 0.6989 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.8683, allocations: 459.7 kB / 0.6993 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.8691, allocations: 0.5831 MB / 0.6999 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.8698, allocations: 0.5504 MB / 0.7005 GB, free: 99.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8699, allocations: 7.609 kB / 0.7005 GB, free: 99.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01164/0.8815, allocations: 4.101 MB / 0.7045 GB, free: 98.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.8816, allocations: 61.16 kB / 0.7045 GB, free: 98.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.8816, allocations: 0 / 0.7045 GB, free: 98.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005216/0.8868, allocations: 1.523 MB / 0.706 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.8877, allocations: 183.9 kB / 0.7062 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.9001, allocations: 6.752 MB / 0.7128 GB, free: 92.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.9018, allocations: 198.6 kB / 0.713 GB, free: 92.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.369e-05/0.9019, allocations: 39.94 kB / 0.713 GB, free: 92.12 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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.0002502/0.9022, allocations: 201.4 kB / 0.7132 GB, free: 91.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.9024, allocations: 130.4 kB / 0.7133 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.9133, allocations: 4.141 MB / 0.7174 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.9134, allocations: 11.61 kB / 0.7174 GB, free: 88.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.9134, allocations: 8 kB / 0.7174 GB, free: 88.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.9135, allocations: 6.531 kB / 0.7174 GB, free: 88.55 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01314/0.9266, allocations: 5.699 MB / 0.723 GB, free: 84.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.9267, allocations: 4 kB / 0.723 GB, free: 84.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/0.9273, allocations: 95.89 kB / 0.7231 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004486/0.9318, allocations: 1.485 MB / 0.7245 GB, free: 82.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.932, allocations: 19.98 kB / 0.7245 GB, free: 82.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.9439, allocations: 7.713 MB / 0.7321 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.944, allocations: 3.953 kB / 0.7321 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/0.9561, allocations: 4.869 MB / 0.7368 GB, free: 69.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.9566, allocations: 231.2 kB / 0.737 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.9568, allocations: 20 kB / 0.7371 GB, free: 69.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.9579, allocations: 143.9 kB / 0.7372 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/0.9585, allocations: 196.7 kB / 0.7374 GB, free: 68.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.9586, allocations: 28 kB / 0.7374 GB, free: 68.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007759/0.9593, allocations: 0.6856 MB / 0.7381 GB, free: 68.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9593, allocations: 0 / 0.7381 GB, free: 68.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0011/0.9604, allocations: 443.5 kB / 0.7385 GB, free: 67.77 MB / 490.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 () * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/0.9607, allocations: 152 kB / 0.7386 GB, free: 67.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004198/0.9649, allocations: 2.081 MB / 0.7407 GB, free: 65.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9649, allocations: 0 / 0.7407 GB, free: 65.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.9682, allocations: 1.578 MB / 0.7422 GB, free: 63.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.9688, allocations: 104.8 kB / 0.7423 GB, free: 63.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.9713, allocations: 1.73 MB / 0.744 GB, free: 62.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.9717, allocations: 1.147 MB / 0.7451 GB, free: 60.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.9721, allocations: 102.1 kB / 0.7452 GB, free: 60.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.9723, allocations: 67.42 kB / 0.7453 GB, free: 60.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/0.9723, allocations: 0 / 0.7453 GB, free: 60.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02583/0.9982, allocations: 20.48 MB / 0.7653 GB, free: 40.45 MB / 490.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)