Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009575/0.0009575, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.899/0.899, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 152.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2664/0.2664, allocations: 80.26 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5548 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.18e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007206/0.007228, allocations: 5.82 MB / 0.5605 GB, free: 6.836 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.01085, allocations: 1.935 MB / 0.5624 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006638/0.01151, allocations: 8 kB / 0.5624 GB, free: 4.887 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.01214, allocations: 241.8 kB / 0.5626 GB, free: 4.648 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.01376, allocations: 0.8504 MB / 0.5635 GB, free: 3.793 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.01477, allocations: 0.6457 MB / 0.5641 GB, free: 3.152 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.01622, allocations: 1.588 MB / 0.5656 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.01657, allocations: 214.8 kB / 0.5658 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.01758, allocations: 0.9078 MB / 0.5667 GB, free: 436 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.01823, allocations: 0.6619 MB / 0.5674 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.01839, allocations: 127.9 kB / 0.5675 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/0.01882, allocations: 275.8 kB / 0.5678 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.01902, allocations: 326.5 kB / 0.5681 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.01936, allocations: 466.5 kB / 0.5685 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.02087, allocations: 1.729 MB / 0.5702 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.02087, allocations: 0 / 0.5702 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.365e-06/0.02087, allocations: 0 / 0.5702 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.02091, allocations: 0 / 0.5702 GB, free: 12.86 MB / 0.4948 GB 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.005359/0.02627, allocations: 2.796 MB / 0.5729 GB, free: 10 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.02631, allocations: 12.03 kB / 0.5729 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.02643, allocations: 122.7 kB / 0.5731 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.02898, allocations: 0.7991 MB / 0.5738 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.03011, allocations: 0.8307 MB / 0.5747 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.03033, allocations: 337.2 kB / 0.575 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.03044, allocations: 80 kB / 0.575 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.03185, allocations: 1.119 MB / 0.5761 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.03186, allocations: 4 kB / 0.5761 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.03193, allocations: 39.94 kB / 0.5762 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.03194, allocations: 16 kB / 0.5762 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.03324, allocations: 1.005 MB / 0.5772 GB, free: 5.512 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.004083/0.03732, allocations: 2.98 MB / 0.5801 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.0411, allocations: 2.015 MB / 0.5821 GB, free: 436 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.04199, allocations: 0.6379 MB / 0.5827 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.037e-05/0.04207, allocations: 20.98 kB / 0.5827 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.04313, allocations: 0.8389 MB / 0.5835 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 3.917e-06/0.04314, allocations: 0 / 0.5835 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01477/0.05791, allocations: 6.955 MB / 0.5903 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.05797, allocations: 119.8 kB / 0.5904 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.05916, allocations: 1.091 MB / 0.5915 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.0593, allocations: 45.73 kB / 0.5915 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.05958, allocations: 0.4937 MB / 0.592 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.0599, allocations: 368.9 kB / 0.5924 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.06023, allocations: 283.5 kB / 0.5926 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.06031, allocations: 313.1 kB / 0.5929 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.06135, allocations: 0.8115 MB / 0.5937 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.06245, allocations: 0.9884 MB / 0.5947 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2365/0.2989, allocations: 5.788 MB / 0.6003 GB, free: 91.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.2989, allocations: 0 / 0.6003 GB, free: 91.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007001/0.3059, allocations: 4.377 MB / 0.6046 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.306, allocations: 62.36 kB / 0.6047 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.306, allocations: 3.656 kB / 0.6047 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.3087, allocations: 1.505 MB / 0.6062 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009333/0.3097, allocations: 293.1 kB / 0.6064 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.3223, allocations: 7.996 MB / 0.6142 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3236, allocations: 204.2 kB / 0.6144 GB, free: 86.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.3237, allocations: 58.27 kB / 0.6145 GB, free: 86.73 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005249/0.3242, allocations: 305.4 kB / 0.6148 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3244, allocations: 131.5 kB / 0.6149 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007374/0.3318, allocations: 3.866 MB / 0.6187 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3318, allocations: 9.812 kB / 0.6187 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.3318, allocations: 12.41 kB / 0.6187 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.3318, allocations: 4.5 kB / 0.6187 GB, free: 85.48 MB / 0.5105 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.009139/0.3409, allocations: 4.998 MB / 0.6236 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3409, allocations: 1.188 kB / 0.6236 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.3414, allocations: 101.3 kB / 0.6237 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/0.3445, allocations: 1.586 MB / 0.6252 GB, free: 83.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.3446, allocations: 22.09 kB / 0.6253 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.3572, allocations: 9.242 MB / 0.6343 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3572, allocations: 0 / 0.6343 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007894/0.3651, allocations: 4.778 MB / 0.639 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3654, allocations: 153.4 kB / 0.6391 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3655, allocations: 19.66 kB / 0.6391 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.366, allocations: 109.6 kB / 0.6392 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.3665, allocations: 204.5 kB / 0.6394 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.3665, allocations: 25.17 kB / 0.6394 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006737/0.3672, allocations: 0.7273 MB / 0.6402 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.3672, allocations: 4 kB / 0.6402 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001107/0.3683, allocations: 476.5 kB / 0.6406 GB, free: 75.68 MB / 0.5105 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 () * Number of clocked 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 (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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007418/0.3757, allocations: 5.359 MB / 0.6458 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.3792, allocations: 2.432 MB / 0.6482 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3792, allocations: 4.25 kB / 0.6482 GB, free: 68.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.3814, allocations: 1.552 MB / 0.6497 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.3823, allocations: 111 kB / 0.6498 GB, free: 67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.4024, allocations: 16.09 MB / 0.6656 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4027, allocations: 0.5316 MB / 0.6661 GB, free: 50.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.4031, allocations: 119 kB / 0.6662 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.4035, allocations: 473.5 kB / 0.6666 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/0.4035, allocations: 0 / 0.6666 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.4481, allocations: 37.73 MB / 0.7035 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.824/9.272, allocations: 4.062 kB / 0.7035 GB, free: 12.14 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.681881224736571] Failed to read output from testmodel.py, exit status != 0: 9.380351984873414 9.391451414 9.367812443 Calling exit ...