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.001975/0.001975, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.479/1.479, allocations: 230.6 MB / 252.7 MB, free: 8.297 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.001599/0.001599, allocations: 205.4 kB / 309.2 MB, free: 3.156 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.6649/0.6649, allocations: 101.4 MB / 467 MB, free: 10.35 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.002757/0.002757, allocations: 84.97 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4495, allocations: 78.6 MB / 0.7012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006976/0.4564, allocations: 6.681 MB / 0.7077 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004687/0.4611, allocations: 2.021 MB / 0.7097 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.4623, allocations: 14.25 kB / 0.7097 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009402/0.4632, allocations: 243.9 kB / 0.7099 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.466, allocations: 0.8658 MB / 0.7108 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.4677, allocations: 0.6381 MB / 0.7114 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.4703, allocations: 1.619 MB / 0.713 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.4709, allocations: 226.5 kB / 0.7132 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.4723, allocations: 0.6746 MB / 0.7139 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.4736, allocations: 0.8421 MB / 0.7147 GB, free: 320 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.474, allocations: 122.4 kB / 0.7148 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.4747, allocations: 277.2 kB / 0.7151 GB, free: 268 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.475, allocations: 336.9 kB / 0.7154 GB, free: 44 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.4761, allocations: 0.6661 MB / 0.716 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.479, allocations: 1.693 MB / 0.7177 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.479, allocations: 7.562 kB / 0.7177 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.479, allocations: 0 / 0.7177 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.607e-05/0.4791, allocations: 0 / 0.7177 GB, free: 14.82 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.01122/0.4903, allocations: 2.804 MB / 0.7204 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4903, allocations: 17.27 kB / 0.7205 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/0.4906, allocations: 126.9 kB / 0.7206 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.4962, allocations: 0.8042 MB / 0.7214 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.4987, allocations: 0.8217 MB / 0.7222 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.4991, allocations: 340.4 kB / 0.7225 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.4994, allocations: 86.56 kB / 0.7226 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.5024, allocations: 1.089 MB / 0.7236 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.5024, allocations: 1.656 kB / 0.7236 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.5025, allocations: 33.88 kB / 0.7237 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.5025, allocations: 17.91 kB / 0.7237 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.5054, allocations: 0.9868 MB / 0.7247 GB, free: 11.6 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.01161/0.5171, allocations: 3.798 MB / 0.7284 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008241/0.5253, allocations: 1.99 MB / 0.7303 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.5272, allocations: 0.6166 MB / 0.7309 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.5273, allocations: 19.22 kB / 0.7309 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/0.5291, allocations: 0.8204 MB / 0.7317 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.545e-06/0.5291, allocations: 0 / 0.7317 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03081/0.5599, allocations: 6.9 MB / 0.7385 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.56, allocations: 117.4 kB / 0.7386 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.5622, allocations: 1.087 MB / 0.7396 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.5625, allocations: 41.95 kB / 0.7397 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.5631, allocations: 0.4917 MB / 0.7402 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007276/0.5639, allocations: 375.1 kB / 0.7405 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006752/0.5645, allocations: 289.4 kB / 0.7408 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5647, allocations: 302.8 kB / 0.7411 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.5667, allocations: 0.763 MB / 0.7418 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.569, allocations: 0.9382 MB / 0.7427 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02744/0.5965, allocations: 5.793 MB / 0.7484 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.5965, allocations: 1.375 kB / 0.7484 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01523/0.6117, allocations: 4.319 MB / 0.7526 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.6118, allocations: 55.41 kB / 0.7527 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.6118, allocations: 8 kB / 0.7527 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005983/0.6178, allocations: 1.504 MB / 0.7542 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.6195, allocations: 295.6 kB / 0.7544 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.6417, allocations: 8.177 MB / 0.7624 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.6441, allocations: 203 kB / 0.7626 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.6443, allocations: 59.97 kB / 0.7627 GB, free: 0.9609 MB / 0.5137 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.0008228/0.6452, allocations: 312 kB / 0.763 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.6455, allocations: 135.1 kB / 0.7631 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.6592, allocations: 3.834 MB / 0.7668 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.6592, allocations: 19.98 kB / 0.7669 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.6592, allocations: 4 kB / 0.7669 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/0.6593, allocations: 7.984 kB / 0.7669 GB, free: 12.61 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.01742/0.6767, allocations: 5.404 MB / 0.7721 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6767, allocations: 0 / 0.7721 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007106/0.6774, allocations: 103.8 kB / 0.7722 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/0.6835, allocations: 1.594 MB / 0.7738 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/0.6838, allocations: 16 kB / 0.7738 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02328/0.7071, allocations: 9.436 MB / 0.783 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.7071, allocations: 3.938 kB / 0.783 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.7235, allocations: 4.716 MB / 0.7876 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.7241, allocations: 150.9 kB / 0.7878 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/0.7245, allocations: 32.05 kB / 0.7878 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.7258, allocations: 103.9 kB / 0.7879 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007401/0.7266, allocations: 208.6 kB / 0.7881 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.7267, allocations: 24 kB / 0.7881 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00136/0.7281, allocations: 0.7312 MB / 0.7889 GB, free: 5.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7281, allocations: 0 / 0.7889 GB, free: 5.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001874/0.7299, allocations: 471.8 kB / 0.7893 GB, free: 5.25 MB / 0.545 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.01671/0.7466, allocations: 5.308 MB / 0.7945 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007395/0.754, allocations: 2.368 MB / 0.7968 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7541, allocations: 0 / 0.7968 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004841/0.7589, allocations: 1.531 MB / 0.7983 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.76, allocations: 124.5 kB / 0.7984 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04478/0.8048, allocations: 16.03 MB / 0.8141 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.8059, allocations: 1.116 MB / 0.8152 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007385/0.8066, allocations: 120 kB / 0.8153 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/0.8074, allocations: 475.3 kB / 0.8157 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of SimCode: time 1.402e-06/0.8074, allocations: 0 / 0.8157 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.9289, allocations: 35.55 MB / 0.8504 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/16.94, allocations: 4 kB / 0.8504 GB, free: 6.402 MB / 0.6075 GB " [Timeout remaining time 643] (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: 20.56675739795901] Failed to read output from testmodel.py, exit status != 0: 17.08441830193624 17.103523462 16.620485887 Calling exit ...