Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004112/0.004112, allocations: 169.2 kB / 15.11 MB, free: 5.582 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.134/1.134, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008799/0.0008799, allocations: 94.7 kB / 290.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4001/0.4001, allocations: 78.51 MB / 419.8 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 12 kB / 499.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 69.36 MB / 0.5557 GB, free: 1.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.3924, allocations: 100.3 MB / 0.6536 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.3926, allocations: 87.48 kB / 0.6537 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1043/0.4969, allocations: 42.51 MB / 0.6952 GB, free: 7.758 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.497, allocations: 0 / 0.6952 GB, free: 7.758 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.184e-05/0.497, allocations: 31.88 kB / 0.6953 GB, free: 7.727 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004546/0.5016, allocations: 2.016 MB / 0.6972 GB, free: 5.645 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.5016, allocations: 8.031 kB / 0.6972 GB, free: 5.637 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.5047, allocations: 0.568 MB / 0.6978 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.5061, allocations: 0.8308 MB / 0.6986 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.5064, allocations: 268.1 kB / 0.6989 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.5065, allocations: 80 kB / 0.6989 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.509, allocations: 1.449 MB / 0.7004 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.509, allocations: 0 / 0.7004 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.5091, allocations: 32 kB / 0.7004 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.5091, allocations: 23.98 kB / 0.7004 GB, free: 2.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5111, allocations: 1.055 MB / 0.7014 GB, free: 1.211 MB / 490.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.005399/0.5165, allocations: 3.669 MB / 0.705 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.5243, allocations: 3.093 MB / 0.708 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-05/0.5244, allocations: 20.7 kB / 0.7081 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.5257, allocations: 0.814 MB / 0.7089 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=115): time 2.354e-06/0.5257, allocations: 0 / 0.7089 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=115): time 0.02799/0.5537, allocations: 8.6 MB / 0.7173 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5539, allocations: 198.7 kB / 0.7174 GB, free: 400 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.555, allocations: 0.9178 MB / 0.7183 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.5551, allocations: 45.7 kB / 0.7184 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.5555, allocations: 0.4939 MB / 0.7189 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.5557, allocations: 319.5 kB / 0.7192 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.5558, allocations: 28 kB / 0.7192 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5559, allocations: 349.9 kB / 0.7195 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.5571, allocations: 0.635 MB / 0.7202 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.5585, allocations: 0.9411 MB / 0.7211 GB, free: 12.51 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2449:7-2449:76:writable] Error: Internal error function solveEquation failed Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.5608, allocations: 1.344 MB / 0.7224 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5608, allocations: 4 kB / 0.7224 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0127/0.5735, allocations: 4.785 MB / 0.7271 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.5736, allocations: 67.41 kB / 0.7271 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5736, allocations: 8 kB / 0.7271 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.5792, allocations: 1.848 MB / 0.7289 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.58, allocations: 203.7 kB / 0.7291 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.5993, allocations: 9.236 MB / 0.7382 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6007, allocations: 195.2 kB / 0.7383 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.6008, allocations: 59.98 kB / 0.7384 GB, free: 10.5 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = 0.0 aVRTypeII.ExcitationSystem.y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.firstOrder2.y,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005903/0.6014, allocations: 311.6 kB / 0.7387 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/0.6032, allocations: 0.6885 MB / 0.7394 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.6168, allocations: 5.007 MB / 0.7443 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6169, allocations: 12 kB / 0.7443 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.6169, allocations: 8 kB / 0.7443 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6169, allocations: 11.97 kB / 0.7443 GB, free: 4.418 MB / 0.5261 GB 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.01355/0.6304, allocations: 6.051 MB / 0.7502 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6305, allocations: 4 kB / 0.7502 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.631, allocations: 103.9 kB / 0.7503 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/0.6367, allocations: 2.002 MB / 0.7523 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.6368, allocations: 27.98 kB / 0.7523 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/0.6586, allocations: 12.51 MB / 0.7645 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6586, allocations: 7.953 kB / 0.7645 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.6738, allocations: 6.07 MB / 0.7704 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.6742, allocations: 243.1 kB / 0.7707 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.6744, allocations: 25.69 kB / 0.7707 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6756, allocations: 147.9 kB / 0.7708 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/0.676, allocations: 172.7 kB / 0.771 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.6761, allocations: 35.98 kB / 0.771 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001009/0.6771, allocations: 0.7199 MB / 0.7717 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.412e-06/0.6771, allocations: 0 / 0.7717 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001276/0.6784, allocations: 459.4 kB / 0.7722 GB, free: 7.246 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 68 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(19,24.4%) 13} * Non-linear torn systems: 1 {4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/0.6787, allocations: 152.9 kB / 0.7723 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005498/0.6842, allocations: 2.559 MB / 0.7748 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6842, allocations: 0 / 0.7748 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/0.688, allocations: 1.584 MB / 0.7764 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6892, allocations: 0.5968 MB / 0.7769 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.6929, allocations: 2.751 MB / 0.7796 GB, free: 15.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.6935, allocations: 1.183 MB / 0.7808 GB, free: 14.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000322/0.6938, allocations: 95.52 kB / 0.7809 GB, free: 14.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.694, allocations: 71.42 kB / 0.7809 GB, free: 14.1 MB / 0.573 GB Notification: Performance of SimCode: time 4.31e-07/0.694, allocations: 0 / 0.7809 GB, free: 14.1 MB / 0.573 GB Notification: Performance of Templates: time 0.2178/0.9118, allocations: 20.41 MB / 0.8009 GB, free: 153.7 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe 2>&1)