Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008657/0.0008657, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000812/0.000812, allocations: 88.86 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06779/0.06779, allocations: 12.6 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2854/0.2854, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.03e-05, allocations: 0 / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.09999, allocations: 69.32 MB / 0.5824 GB, free: 8.402 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.4508, allocations: 99.79 MB / 0.6798 GB, free: 8.227 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4511, allocations: 78.7 kB / 0.6799 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08889/0.54, allocations: 35.1 MB / 0.7142 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.54, allocations: 0 / 0.7142 GB, free: 11.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.42e-05/0.5401, allocations: 27.94 kB / 0.7142 GB, free: 11.32 MB / 458.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.003854/0.5439, allocations: 1.707 MB / 0.7159 GB, free: 9.668 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.544, allocations: 8.031 kB / 0.7159 GB, free: 9.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.5471, allocations: 0.5615 MB / 0.7164 GB, free: 9.145 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5484, allocations: 0.7804 MB / 0.7172 GB, free: 8.477 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.5486, allocations: 235.8 kB / 0.7174 GB, free: 8.215 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5488, allocations: 52 kB / 0.7175 GB, free: 8.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/0.55, allocations: 0.8009 MB / 0.7183 GB, free: 7.676 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5513, allocations: 0.8261 MB / 0.7191 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.5513, allocations: 0 / 0.7191 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.5514, allocations: 4 kB / 0.7191 GB, free: 7.102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5514, allocations: 19.95 kB / 0.7191 GB, free: 7.082 MB / 458.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.00572/0.5572, allocations: 3.663 MB / 0.7227 GB, free: 4.152 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.5641, allocations: 2.622 MB / 0.7252 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.5648, allocations: 0.5193 MB / 0.7257 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.5649, allocations: 20.77 kB / 0.7258 GB, free: 1.465 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/0.5658, allocations: 0.6451 MB / 0.7264 GB, free: 1.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 2.334e-06/0.5658, allocations: 0 / 0.7264 GB, free: 1.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01178/0.5776, allocations: 3.926 MB / 0.7302 GB, free: 13.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.5777, allocations: 115.5 kB / 0.7303 GB, free: 13.47 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.5787, allocations: 0.8031 MB / 0.7311 GB, free: 12.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.5787, allocations: 25.7 kB / 0.7311 GB, free: 12.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.579, allocations: 0.5189 MB / 0.7316 GB, free: 12.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.5793, allocations: 334.6 kB / 0.732 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.5794, allocations: 0 / 0.732 GB, free: 12.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5795, allocations: 343.4 kB / 0.7323 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.5802, allocations: 438.9 kB / 0.7327 GB, free: 11.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.5809, allocations: 0.5553 MB / 0.7333 GB, free: 11.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.5817, allocations: 494.4 kB / 0.7337 GB, free: 11.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.5817, allocations: 3.984 kB / 0.7337 GB, free: 11.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01168/0.5934, allocations: 3.946 MB / 0.7376 GB, free: 7.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.5934, allocations: 64.8 kB / 0.7376 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5934, allocations: 8 kB / 0.7377 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005263/0.5987, allocations: 1.499 MB / 0.7391 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.5996, allocations: 187.7 kB / 0.7393 GB, free: 5.805 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.6124, allocations: 6.564 MB / 0.7457 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6138, allocations: 187 kB / 0.7459 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.6139, allocations: 35.98 kB / 0.7459 GB, free: 14.89 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.00028/0.6141, allocations: 163.5 kB / 0.7461 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6143, allocations: 126.6 kB / 0.7462 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.6258, allocations: 4.032 MB / 0.7501 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6258, allocations: 8 kB / 0.7501 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6259, allocations: 8 kB / 0.7501 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.6259, allocations: 3.984 kB / 0.7501 GB, free: 10.52 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.01293/0.6388, allocations: 5.505 MB / 0.7555 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6388, allocations: 0 / 0.7555 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.6394, allocations: 95.91 kB / 0.7556 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004569/0.644, allocations: 1.469 MB / 0.7571 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.6441, allocations: 11.98 kB / 0.7571 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.6571, allocations: 7.546 MB / 0.7644 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6572, allocations: 4 kB / 0.7644 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.67, allocations: 4.777 MB / 0.7691 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.6705, allocations: 219.4 kB / 0.7693 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.6707, allocations: 4 kB / 0.7693 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.6719, allocations: 127.9 kB / 0.7694 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/0.6724, allocations: 201 kB / 0.7696 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.6725, allocations: 28 kB / 0.7697 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008151/0.6733, allocations: 0.6175 MB / 0.7703 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6733, allocations: 0 / 0.7703 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001202/0.6745, allocations: 387.5 kB / 0.7706 GB, free: 5.141 MB / 0.4948 GB 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.0002738/0.6748, allocations: 147 kB / 0.7708 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004556/0.6794, allocations: 1.995 MB / 0.7727 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6794, allocations: 4.25 kB / 0.7727 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003624/0.683, allocations: 1.517 MB / 0.7742 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.6836, allocations: 80.42 kB / 0.7743 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.6867, allocations: 1.692 MB / 0.7759 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.6873, allocations: 1.155 MB / 0.7771 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00038/0.6877, allocations: 94.67 kB / 0.7771 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.6879, allocations: 67.42 kB / 0.7772 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.688, allocations: 0 / 0.7772 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.02825/0.7162, allocations: 18.87 MB / 0.7956 GB, free: 11.39 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)