Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.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.001417/0.001417, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.457/1.457, allocations: 230.6 MB / 252.6 MB, free: 8.289 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.001704/0.001704, allocations: 221.5 kB / 309.2 MB, free: 3.133 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.5864/0.5864, allocations: 101.3 MB / 467 MB, free: 10.32 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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",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.002463/0.002463, allocations: 87.84 kB / 0.6246 GB, free: 12.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.566/0.5684, allocations: 78.6 MB / 0.7013 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02073/0.5891, allocations: 22.12 MB / 0.7229 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.6047, allocations: 4.97 MB / 0.7278 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007066/0.6118, allocations: 43.56 kB / 0.7278 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.6161, allocations: 0.8963 MB / 0.7287 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.6281, allocations: 2.323 MB / 0.731 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00758/0.6356, allocations: 2.08 MB / 0.733 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01522/0.6509, allocations: 5.832 MB / 0.7387 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.6535, allocations: 0.9175 MB / 0.7396 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006335/0.6598, allocations: 2.425 MB / 0.7419 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.6669, allocations: 3.009 MB / 0.7449 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002378/0.6693, allocations: 447.6 kB / 0.7453 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.6725, allocations: 0.6186 MB / 0.7459 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.674, allocations: 1.174 MB / 0.7471 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005556/0.6795, allocations: 2.636 MB / 0.7496 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.6928, allocations: 6.339 MB / 0.7558 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6928, allocations: 1.094 kB / 0.7558 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6928, allocations: 0 / 0.7558 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003289/0.6931, allocations: 0 / 0.7558 GB, free: 3.621 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03843/0.7316, allocations: 9.999 MB / 0.7656 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7316, allocations: 10.34 kB / 0.7656 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/0.7327, allocations: 490.5 kB / 0.7661 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0274/0.7601, allocations: 4.06 MB / 0.77 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007496/0.7676, allocations: 2.614 MB / 0.7726 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/0.7688, allocations: 1.033 MB / 0.7736 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.77, allocations: 352 kB / 0.7739 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.7803, allocations: 4.751 MB / 0.7786 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/0.7804, allocations: 0 / 0.7786 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.7808, allocations: 144 kB / 0.7787 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.726e-05/0.7808, allocations: 88 kB / 0.7788 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009363/0.7902, allocations: 4.26 MB / 0.783 GB, free: 12.44 MB / 0.545 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.04027/0.8305, allocations: 18.13 MB / 0.8007 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.8433, allocations: 4.377 MB / 0.8049 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006312/0.8496, allocations: 2.49 MB / 0.8074 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.8502, allocations: 74.91 kB / 0.8074 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007417/0.8576, allocations: 3.201 MB / 0.8106 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=385): time 8.947e-06/0.8576, allocations: 0 / 0.8106 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=385): time 0.2979/1.156, allocations: 66.54 MB / 0.8755 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.156, allocations: 153.8 kB / 0.8757 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006732/1.162, allocations: 3.271 MB / 0.8789 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.164, allocations: 89.7 kB / 0.879 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001869/1.166, allocations: 2.005 MB / 0.8809 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002698/1.168, allocations: 1.386 MB / 0.8823 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/1.17, allocations: 0.6864 MB / 0.8829 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.17, allocations: 313.1 kB / 0.8832 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005956/1.176, allocations: 2.62 MB / 0.8858 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006849/1.183, allocations: 3.249 MB / 0.889 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07701/1.26, allocations: 19.34 MB / 0.9079 GB, free: 10.53 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/1.26, allocations: 4 kB / 0.9079 GB, free: 10.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05946/1.319, allocations: 17.14 MB / 0.9246 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.319, allocations: 67.39 kB / 0.9247 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/1.319, allocations: 16 kB / 0.9247 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02747/1.347, allocations: 7.292 MB / 0.9318 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.351, allocations: 0.6787 MB / 0.9325 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09262/1.443, allocations: 33.8 MB / 0.9655 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007057/1.45, allocations: 0.6376 MB / 0.9661 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009681/1.451, allocations: 156 kB / 0.9663 GB, free: 14.52 MB / 0.7325 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.002218/1.454, allocations: 0.6752 MB / 0.9669 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.455, allocations: 484.8 kB / 0.9674 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4208/1.876, allocations: 16.75 MB / 0.9837 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/1.876, allocations: 37.7 kB / 0.9838 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.415e-05/1.876, allocations: 27.97 kB / 0.9838 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001334/1.876, allocations: 19.47 kB / 0.9838 GB, free: 232.1 MB / 0.7325 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.06606/1.942, allocations: 21.76 MB / 1.005 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/1.942, allocations: 1.469 kB / 1.005 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/1.945, allocations: 394.9 kB / 1.005 GB, free: 228.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0266/1.971, allocations: 7.338 MB / 1.013 GB, free: 227.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001078/1.972, allocations: 69.17 kB / 1.013 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07383/2.046, allocations: 31.69 MB / 1.044 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/2.046, allocations: 0 / 1.044 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05718/2.103, allocations: 20.19 MB / 1.063 GB, free: 193.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/2.105, allocations: 0.5094 MB / 1.064 GB, free: 193.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/2.107, allocations: 64 kB / 1.064 GB, free: 193 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004677/2.111, allocations: 383.6 kB / 1.064 GB, free: 192.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002826/2.114, allocations: 0.8226 MB / 1.065 GB, free: 191.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/2.114, allocations: 95.92 kB / 1.065 GB, free: 191.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002638/2.117, allocations: 2.149 MB / 1.067 GB, free: 189.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/2.117, allocations: 0 / 1.067 GB, free: 189.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005418/2.122, allocations: 1.827 MB / 1.069 GB, free: 187.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05644/2.179, allocations: 20.85 MB / 1.089 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02384/2.203, allocations: 8.966 MB / 1.098 GB, free: 157.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/2.203, allocations: 4 kB / 1.098 GB, free: 157.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/2.221, allocations: 5.91 MB / 1.104 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/2.225, allocations: 388.5 kB / 1.104 GB, free: 151.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1443/2.369, allocations: 59.03 MB / 1.162 GB, free: 91.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/2.371, allocations: 2.459 MB / 1.164 GB, free: 89.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001735/2.372, allocations: 379.2 kB / 1.165 GB, free: 88.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/2.374, allocations: 1.995 MB / 1.167 GB, free: 86.82 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/2.375, allocations: 3.938 kB / 1.167 GB, free: 86.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5789/2.953, allocations: 135.6 MB / 1.299 GB, free: 245.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.05/28, allocations: 9.188 kB / 1.299 GB, free: 245.7 MB / 0.7481 GB " [Timeout remaining time 632] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.05528410699844] Failed to read output from testmodel.py, exit status != 0: 28.20917914799793 28.222442939 27.526578286 Calling exit ...