Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001349/0.001349, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 252.7 MB, free: 8.082 MB / 206.1 MB " [Timeout remaining time 178] 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.001679/0.001679, allocations: 218.5 kB / 309.2 MB, free: 2.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5886/0.5886, allocations: 107.3 MB / 473 MB, free: 4.836 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 87.88 kB / 0.6332 GB, free: 4.941 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.532, allocations: 80.17 MB / 0.7115 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006009/0.538, allocations: 5.846 MB / 0.7172 GB, free: 248 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.5425, allocations: 1.923 MB / 0.7191 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.543, allocations: 9.281 kB / 0.7191 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.5438, allocations: 240.1 kB / 0.7194 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.5461, allocations: 0.85 MB / 0.7202 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5476, allocations: 0.6168 MB / 0.7208 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.5497, allocations: 1.61 MB / 0.7224 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.5501, allocations: 214.7 kB / 0.7226 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009879/0.5511, allocations: 0.6727 MB / 0.7232 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.5522, allocations: 0.769 MB / 0.724 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.5524, allocations: 122.6 kB / 0.7241 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.553, allocations: 277.3 kB / 0.7244 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.5533, allocations: 327.1 kB / 0.7247 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.5539, allocations: 0.5487 MB / 0.7252 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.5562, allocations: 1.706 MB / 0.7269 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5562, allocations: 3.938 kB / 0.7269 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5562, allocations: 0 / 0.7269 GB, free: 11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.5562, allocations: 0 / 0.7269 GB, free: 11 MB / 0.4981 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.01049/0.5667, allocations: 2.815 MB / 0.7296 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.5667, allocations: 13.41 kB / 0.7296 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.5669, allocations: 127.1 kB / 0.7298 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00546/0.5724, allocations: 0.7977 MB / 0.7305 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.5744, allocations: 0.826 MB / 0.7313 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003858/0.5748, allocations: 336.5 kB / 0.7317 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.575, allocations: 87.34 kB / 0.7318 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.5774, allocations: 1.12 MB / 0.7328 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5774, allocations: 0 / 0.7328 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.5775, allocations: 31.16 kB / 0.7329 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5776, allocations: 17.53 kB / 0.7329 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.5798, allocations: 1.014 MB / 0.7339 GB, free: 7.438 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 preOpt removeSimpleEquations (simulation): time 0.007421/0.5872, allocations: 2.979 MB / 0.7368 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.5948, allocations: 2.018 MB / 0.7388 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.5962, allocations: 0.6439 MB / 0.7394 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-05/0.5963, allocations: 11.91 kB / 0.7394 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/0.5981, allocations: 0.8429 MB / 0.7402 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.5981, allocations: 0 / 0.7402 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02984/0.6279, allocations: 6.96 MB / 0.747 GB, free: 92 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.6281, allocations: 117.1 kB / 0.7471 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/0.6307, allocations: 1.088 MB / 0.7482 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.6309, allocations: 45.42 kB / 0.7482 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.6315, allocations: 0.4967 MB / 0.7487 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/0.6322, allocations: 371.6 kB / 0.7491 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007449/0.6329, allocations: 289 kB / 0.7494 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6331, allocations: 302.5 kB / 0.7496 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.6349, allocations: 0.8189 MB / 0.7504 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.6368, allocations: 0.9905 MB / 0.7514 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02514/0.662, allocations: 5.786 MB / 0.7571 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.662, allocations: 0 / 0.7571 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01413/0.6761, allocations: 4.379 MB / 0.7613 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/0.6762, allocations: 59.41 kB / 0.7614 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.6762, allocations: 4 kB / 0.7614 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/0.6818, allocations: 1.508 MB / 0.7629 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.6835, allocations: 303.5 kB / 0.7632 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.7038, allocations: 7.985 MB / 0.771 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.7061, allocations: 214.9 kB / 0.7712 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.7062, allocations: 51.98 kB / 0.7712 GB, free: 9.453 MB / 0.5294 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.0007812/0.707, allocations: 312 kB / 0.7715 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.7073, allocations: 135.1 kB / 0.7716 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.7203, allocations: 3.867 MB / 0.7754 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.7203, allocations: 12 kB / 0.7754 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.7203, allocations: 4 kB / 0.7754 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.7203, allocations: 11.97 kB / 0.7754 GB, free: 5.07 MB / 0.5294 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.01564/0.736, allocations: 4.982 MB / 0.7803 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.736, allocations: 0 / 0.7803 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.7367, allocations: 103.8 kB / 0.7804 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005755/0.7425, allocations: 1.582 MB / 0.7819 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.7427, allocations: 23.94 kB / 0.782 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/0.764, allocations: 9.25 MB / 0.791 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.764, allocations: 0 / 0.791 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.7789, allocations: 4.782 MB / 0.7957 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/0.7795, allocations: 142.9 kB / 0.7958 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.7797, allocations: 24 kB / 0.7958 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7808, allocations: 111.9 kB / 0.7959 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006064/0.7814, allocations: 196.6 kB / 0.7961 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-05/0.7815, allocations: 31.98 kB / 0.7962 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001158/0.7827, allocations: 0.7312 MB / 0.7969 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7827, allocations: 0 / 0.7969 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001439/0.7841, allocations: 475.6 kB / 0.7973 GB, free: 14.29 MB / 0.5606 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.01509/0.7992, allocations: 5.355 MB / 0.8026 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006427/0.8056, allocations: 2.455 MB / 0.805 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.8056, allocations: 0 / 0.805 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/0.8099, allocations: 1.552 MB / 0.8065 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.8111, allocations: 116.5 kB / 0.8066 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/0.8508, allocations: 16.27 MB / 0.8225 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.8515, allocations: 0.5278 MB / 0.823 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000572/0.8521, allocations: 128.1 kB / 0.8231 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/0.8528, allocations: 471.3 kB / 0.8236 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.8528, allocations: 0 / 0.8236 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08768/0.9404, allocations: 37.48 MB / 0.8602 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.88, allocations: 15.47 kB / 0.8602 GB, free: 13.66 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.5727803632617] Failed to read output from testmodel.py, exit status != 0: 16.022872435860336 16.0506464 15.489327673 Calling exit ...