Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.004079/0.004079, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.201/1.201, allocations: 223.2 MB / 239 MB, free: 56 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.0008116/0.0008116, allocations: 97.84 kB / 290.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4169/0.4169, allocations: 78.59 MB / 419.9 MB, free: 36.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 12 kB / 499.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 69.36 MB / 0.5558 GB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.4029, allocations: 100.3 MB / 0.6537 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.4031, allocations: 81.23 kB / 0.6538 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1101/0.5132, allocations: 42.51 MB / 0.6953 GB, free: 7.883 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5132, allocations: 3.938 kB / 0.6953 GB, free: 7.879 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.214e-05/0.5133, allocations: 28 kB / 0.6953 GB, free: 7.852 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.004804/0.5181, allocations: 2.016 MB / 0.6973 GB, free: 5.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.5181, allocations: 8.031 kB / 0.6973 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.5214, allocations: 0.5719 MB / 0.6979 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.5228, allocations: 0.8308 MB / 0.6987 GB, free: 4.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.5231, allocations: 272.1 kB / 0.6989 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5232, allocations: 83.19 kB / 0.699 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.5258, allocations: 1.446 MB / 0.7004 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.5259, allocations: 0 / 0.7004 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/0.526, allocations: 32 kB / 0.7004 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.526, allocations: 19.98 kB / 0.7005 GB, free: 2.402 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.528, allocations: 1.059 MB / 0.7015 GB, free: 1.34 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.005691/0.5337, allocations: 3.665 MB / 0.7051 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008156/0.5419, allocations: 3.091 MB / 0.7081 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/0.542, allocations: 24.7 kB / 0.7081 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.5434, allocations: 0.8055 MB / 0.7089 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=115): time 2.564e-06/0.5435, allocations: 4 kB / 0.7089 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=115): time 0.02983/0.5733, allocations: 8.603 MB / 0.7173 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.5735, allocations: 194.7 kB / 0.7175 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.5749, allocations: 0.9139 MB / 0.7184 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.575, allocations: 49.7 kB / 0.7184 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.5753, allocations: 0.4939 MB / 0.7189 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.5756, allocations: 323.5 kB / 0.7192 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.5757, allocations: 24 kB / 0.7193 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5759, allocations: 349.9 kB / 0.7196 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.5772, allocations: 0.635 MB / 0.7202 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.5786, allocations: 0.9411 MB / 0.7211 GB, free: 12.64 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.002374/0.581, allocations: 1.344 MB / 0.7224 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.581, allocations: 0 / 0.7224 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01347/0.5945, allocations: 4.793 MB / 0.7271 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.5946, allocations: 59.41 kB / 0.7272 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5946, allocations: 12 kB / 0.7272 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006037/0.6006, allocations: 1.852 MB / 0.729 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.6014, allocations: 195.7 kB / 0.7292 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.6217, allocations: 9.237 MB / 0.7382 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6231, allocations: 203.2 kB / 0.7384 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6232, allocations: 51.98 kB / 0.7384 GB, free: 10.64 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.0005934/0.6238, allocations: 313 kB / 0.7387 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/0.6257, allocations: 0.6924 MB / 0.7394 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/0.6404, allocations: 4.999 MB / 0.7443 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.6404, allocations: 16 kB / 0.7443 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6404, allocations: 12 kB / 0.7443 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.6404, allocations: 7.969 kB / 0.7443 GB, free: 4.551 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.01418/0.6546, allocations: 6.051 MB / 0.7502 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6546, allocations: 0 / 0.7502 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.6552, allocations: 103.9 kB / 0.7503 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005968/0.6611, allocations: 2.006 MB / 0.7523 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/0.6613, allocations: 29.48 kB / 0.7523 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02272/0.684, allocations: 12.52 MB / 0.7646 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.684, allocations: 3.953 kB / 0.7646 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.7001, allocations: 6.07 MB / 0.7705 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.7005, allocations: 247.1 kB / 0.7707 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.7007, allocations: 24 kB / 0.7707 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.7019, allocations: 147.9 kB / 0.7709 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/0.7023, allocations: 172.7 kB / 0.7711 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.7024, allocations: 35.98 kB / 0.7711 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001117/0.7035, allocations: 0.7238 MB / 0.7718 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7036, allocations: 0 / 0.7718 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001336/0.7049, allocations: 451.5 kB / 0.7722 GB, free: 7.383 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.0002677/0.7052, allocations: 158.3 kB / 0.7724 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005816/0.711, allocations: 2.558 MB / 0.7749 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.711, allocations: 0 / 0.7749 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.715, allocations: 1.588 MB / 0.7764 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.7163, allocations: 0.5861 MB / 0.777 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.7202, allocations: 2.75 MB / 0.7797 GB, free: 15.62 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.7208, allocations: 1.187 MB / 0.7808 GB, free: 14.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003477/0.7212, allocations: 95.52 kB / 0.7809 GB, free: 14.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.7214, allocations: 71.42 kB / 0.781 GB, free: 14.23 MB / 0.573 GB Notification: Performance of SimCode: time 2.21e-07/0.7214, allocations: 0 / 0.781 GB, free: 14.23 MB / 0.573 GB Notification: Performance of Templates: time 0.2233/0.9447, allocations: 20.42 MB / 0.8009 GB, free: 153.8 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe 2>&1)