Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 246.8 MB, free: 13.64 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 194 kB / 302 MB, free: 9.152 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5175/0.5175, allocations: 94.16 MB / 451.2 MB, free: 9.621 MB / 318.1 MB [Timeout remaining time 89] 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_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 79.88 kB / 0.6029 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1763, allocations: 75.55 MB / 0.6766 GB, free: 3.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous): time 0.008551/0.1848, allocations: 6.805 MB / 0.6833 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.1896, allocations: 2.04 MB / 0.6853 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006293/0.1903, allocations: 12 kB / 0.6853 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.191, allocations: 241.9 kB / 0.6855 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.1931, allocations: 0.8517 MB / 0.6863 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1946, allocations: 0.6602 MB / 0.687 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1965, allocations: 1.612 MB / 0.6886 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.1969, allocations: 234.5 kB / 0.6888 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.1979, allocations: 0.6652 MB / 0.6894 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1989, allocations: 0.8634 MB / 0.6903 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.1991, allocations: 124 kB / 0.6904 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.1997, allocations: 259.9 kB / 0.6906 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.2, allocations: 330.6 kB / 0.691 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.2007, allocations: 0.6796 MB / 0.6916 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.2027, allocations: 1.704 MB / 0.6933 GB, free: 2.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2027, allocations: 0 / 0.6933 GB, free: 2.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2027, allocations: 0 / 0.6933 GB, free: 2.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.2027, allocations: 0 / 0.6933 GB, free: 2.273 MB / 494.1 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.3226/0.5253, allocations: 2.743 MB / 0.696 GB, free: 23.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5253, allocations: 11.38 kB / 0.696 GB, free: 23.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.5303, allocations: 0.7848 MB / 0.6967 GB, free: 23.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.5319, allocations: 0.9227 MB / 0.6976 GB, free: 22.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.5321, allocations: 261.5 kB / 0.6979 GB, free: 22.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.5323, allocations: 86.98 kB / 0.698 GB, free: 22.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.5348, allocations: 1.404 MB / 0.6993 GB, free: 22.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5348, allocations: 1.312 kB / 0.6993 GB, free: 22.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.5349, allocations: 30.75 kB / 0.6994 GB, free: 22.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5349, allocations: 16.81 kB / 0.6994 GB, free: 22.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.5368, allocations: 0.9958 MB / 0.7004 GB, free: 22.41 MB / 494.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.006332/0.5431, allocations: 3.717 MB / 0.704 GB, free: 20.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.5503, allocations: 2.478 MB / 0.7064 GB, free: 19.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.5517, allocations: 0.6935 MB / 0.7071 GB, free: 19.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.5518, allocations: 27.34 kB / 0.7071 GB, free: 19.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/0.5534, allocations: 0.7443 MB / 0.7078 GB, free: 19.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=115): time 3.427e-06/0.5534, allocations: 1.031 kB / 0.7078 GB, free: 19.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=115): time 0.03091/0.5843, allocations: 7.282 MB / 0.715 GB, free: 17.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.5845, allocations: 197.7 kB / 0.7151 GB, free: 17.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.5867, allocations: 1.088 MB / 0.7162 GB, free: 16.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.587, allocations: 46.8 kB / 0.7163 GB, free: 16.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.5874, allocations: 493.7 kB / 0.7167 GB, free: 16.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005145/0.5879, allocations: 347.7 kB / 0.7171 GB, free: 16.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008261/0.5888, allocations: 311.1 kB / 0.7173 GB, free: 16.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.5888, allocations: 308.5 kB / 0.7176 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.5905, allocations: 0.7491 MB / 0.7184 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.5924, allocations: 1.098 MB / 0.7194 GB, free: 14.54 MB / 494.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. 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.02272/0.6151, allocations: 5.949 MB / 0.7253 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.209e-05/0.6151, allocations: 3.344 kB / 0.7253 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01486/0.63, allocations: 4.507 MB / 0.7297 GB, free: 8.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.6301, allocations: 69.52 kB / 0.7297 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.967e-05/0.6302, allocations: 10.67 kB / 0.7297 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/0.6363, allocations: 1.629 MB / 0.7313 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6377, allocations: 303.6 kB / 0.7316 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.6586, allocations: 10.51 MB / 0.7419 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.6609, allocations: 211 kB / 0.7421 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/0.6613, allocations: 68.73 kB / 0.7421 GB, free: 15.31 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: $DER.aVRTypeII.firstOrder2.y = 0.0 $DER.aVRTypeII.derivativeBlock.x = 0.0 aVRTypeII.simpleLagLim.state = aVRTypeII.simpleLagLim.y_start order4.delta0 = Modelica.Math.atan3(order4.Vt0.im + (order4.ra * order4.I0.im + order4.xq0 * order4.I0.re) * order4.Z_MBtoSB, order4.Vt0.re + (order4.ra * order4.I0.re - order4.xq0 * order4.I0.im) * order4.Z_MBtoSB, 0.0). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.simpleLagLim.state,aVRTypeII.derivativeBlock.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.6624, allocations: 353.7 kB / 0.7425 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002435/0.6649, allocations: 0.6654 MB / 0.7431 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/0.6793, allocations: 4.121 MB / 0.7472 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.6794, allocations: 12 kB / 0.7472 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/0.6794, allocations: 10.94 kB / 0.7472 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/0.6794, allocations: 4.734 kB / 0.7472 GB, free: 10.11 MB / 0.4981 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.01752/0.697, allocations: 5.67 MB / 0.7527 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.697, allocations: 0 / 0.7527 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.6977, allocations: 111.8 kB / 0.7528 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00617/0.7038, allocations: 1.719 MB / 0.7545 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.7041, allocations: 23.98 kB / 0.7545 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/0.7302, allocations: 12.19 MB / 0.7664 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7302, allocations: 3.938 kB / 0.7664 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.7474, allocations: 5.09 MB / 0.7714 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/0.7482, allocations: 239.9 kB / 0.7716 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/0.7487, allocations: 31.94 kB / 0.7717 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.7503, allocations: 107.9 kB / 0.7718 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006712/0.751, allocations: 180.8 kB / 0.7719 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.7512, allocations: 35.98 kB / 0.772 GB, free: 176 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001529/0.7527, allocations: 0.7317 MB / 0.7727 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7527, allocations: 0 / 0.7727 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002507/0.7552, allocations: 491.7 kB / 0.7732 GB, free: 14.95 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005009/0.7557, allocations: 147.8 kB / 0.7733 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007439/0.7632, allocations: 2.631 MB / 0.7759 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7632, allocations: 0 / 0.7759 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/0.7675, allocations: 1.327 MB / 0.7772 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.77, allocations: 0.5906 MB / 0.7777 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.7755, allocations: 2.442 MB / 0.7801 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.7766, allocations: 1.172 MB / 0.7813 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.777, allocations: 83.42 kB / 0.7813 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.777, allocations: 0 / 0.7813 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of Templates: time 0.0459/0.8229, allocations: 31.33 MB / 0.8119 GB, free: 7.094 MB / 0.5606 GB [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discretized_Continuous.pipe 2>&1) [Timeout 480]