Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.00177/0.00177, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.58/1.58, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.002065/0.002065, allocations: 210.6 kB / 309.2 MB, free: 3.121 MB / 238.1 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.6461/0.6461, allocations: 107.2 MB / 472.8 MB, free: 29.88 MB / 350.1 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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.002536/0.002536, allocations: 88.42 kB / 0.6332 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1683, allocations: 80.15 MB / 0.7114 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02064/0.189, allocations: 18.57 MB / 0.7296 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.2016, allocations: 4.861 MB / 0.7343 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00501/0.2066, allocations: 44.05 kB / 0.7344 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.21, allocations: 0.8788 MB / 0.7352 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009211/0.2192, allocations: 2.301 MB / 0.7375 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006404/0.2257, allocations: 2.057 MB / 0.7395 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.2358, allocations: 5.795 MB / 0.7451 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.238, allocations: 0.8572 MB / 0.746 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.2423, allocations: 2.427 MB / 0.7483 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/0.2474, allocations: 2.697 MB / 0.751 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001458/0.2489, allocations: 448 kB / 0.7514 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.2509, allocations: 0.5976 MB / 0.752 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.2521, allocations: 1.167 MB / 0.7531 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003055/0.2551, allocations: 2.132 MB / 0.7552 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008821/0.2639, allocations: 6.367 MB / 0.7614 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.264, allocations: 0 / 0.7614 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.264, allocations: 4 kB / 0.7614 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002695/0.2642, allocations: 3.938 kB / 0.7614 GB, free: 4.133 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03334/0.2976, allocations: 9.963 MB / 0.7712 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.2976, allocations: 12.03 kB / 0.7712 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007571/0.2984, allocations: 488.9 kB / 0.7716 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02696/0.3253, allocations: 4.059 MB / 0.7756 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008264/0.3336, allocations: 2.598 MB / 0.7781 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/0.3351, allocations: 1.029 MB / 0.7791 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.3368, allocations: 352 kB / 0.7795 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.3524, allocations: 4.768 MB / 0.7841 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.3525, allocations: 3.938 kB / 0.7841 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.3537, allocations: 144 kB / 0.7843 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.894e-05/0.3538, allocations: 84 kB / 0.7844 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.3659, allocations: 4.249 MB / 0.7885 GB, free: 8.004 MB / 0.5606 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.04058/0.4065, allocations: 13.44 MB / 0.8016 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/0.4202, allocations: 4.378 MB / 0.8059 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006825/0.427, allocations: 2.512 MB / 0.8084 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000752/0.4277, allocations: 62.95 kB / 0.8084 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4023/0.83, allocations: 3.207 MB / 0.8116 GB, free: 85.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 1.173e-05/0.83, allocations: 0 / 0.8116 GB, free: 85.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.2937/1.124, allocations: 67.54 MB / 0.8775 GB, free: 42.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/1.124, allocations: 153.8 kB / 0.8777 GB, free: 42.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/1.13, allocations: 3.281 MB / 0.8809 GB, free: 39.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.131, allocations: 89.7 kB / 0.8809 GB, free: 39.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.132, allocations: 2.009 MB / 0.8829 GB, free: 37.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.134, allocations: 1.385 MB / 0.8843 GB, free: 36.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003199/1.137, allocations: 0.6785 MB / 0.8849 GB, free: 35.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/1.138, allocations: 301.1 kB / 0.8852 GB, free: 35.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005885/1.143, allocations: 2.655 MB / 0.8878 GB, free: 32.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006147/1.15, allocations: 3.287 MB / 0.891 GB, free: 29.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06809/1.218, allocations: 19.22 MB / 0.9098 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/1.218, allocations: 4 kB / 0.9098 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05951/1.277, allocations: 17.24 MB / 0.9266 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.277, allocations: 67.39 kB / 0.9267 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.298e-05/1.277, allocations: 16.88 kB / 0.9267 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02776/1.305, allocations: 7.15 MB / 0.9337 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/1.309, allocations: 0.6865 MB / 0.9344 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09208/1.401, allocations: 32.39 MB / 0.966 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007062/1.408, allocations: 0.6267 MB / 0.9666 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.41, allocations: 156 kB / 0.9668 GB, free: 15.5 MB / 0.6387 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00256/1.412, allocations: 0.676 MB / 0.9674 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.414, allocations: 488.8 kB / 0.9679 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05809/1.472, allocations: 16.76 MB / 0.9843 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/1.472, allocations: 39.94 kB / 0.9843 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.293e-05/1.472, allocations: 29.12 kB / 0.9843 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/1.472, allocations: 19.92 kB / 0.9843 GB, free: 13.42 MB / 0.6544 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.06776/1.54, allocations: 20.42 MB / 1.004 GB, free: 9.016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/1.54, allocations: 2.078 kB / 1.004 GB, free: 9.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.542, allocations: 395.5 kB / 1.005 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02699/1.569, allocations: 7.372 MB / 1.012 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/1.57, allocations: 75.98 kB / 1.012 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09427/1.665, allocations: 30.77 MB / 1.042 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.665, allocations: 0 / 1.042 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06982/1.734, allocations: 20.19 MB / 1.062 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.736, allocations: 0.5181 MB / 1.062 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/1.738, allocations: 60 kB / 1.062 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005661/1.744, allocations: 386.9 kB / 1.063 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003922/1.748, allocations: 0.8152 MB / 1.063 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009075/1.749, allocations: 95.98 kB / 1.064 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004742/1.753, allocations: 2.137 MB / 1.066 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.753, allocations: 0 / 1.066 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008343/1.762, allocations: 1.81 MB / 1.067 GB, free: 8.188 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(100,36,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.07181/1.834, allocations: 20.87 MB / 1.088 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03024/1.864, allocations: 8.878 MB / 1.096 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.864, allocations: 4.5 kB / 1.096 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02287/1.887, allocations: 5.936 MB / 1.102 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/1.892, allocations: 392.4 kB / 1.103 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5399/2.432, allocations: 59.24 MB / 1.16 GB, free: 242.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/2.436, allocations: 1.939 MB / 1.162 GB, free: 240.4 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002269/2.438, allocations: 374.9 kB / 1.163 GB, free: 240 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002966/2.441, allocations: 2.022 MB / 1.165 GB, free: 238 MB / 0.7637 GB Notification: Performance of SimCode: time 2.405e-06/2.441, allocations: 0 / 1.165 GB, free: 238 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1984/2.639, allocations: 137.8 MB / 1.299 GB, free: 100.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.83/24.47, allocations: 11.11 kB / 1.299 GB, free: 100.7 MB / 0.7637 GB " [Timeout remaining time 635] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.910396329127252] Failed to read output from testmodel.py, exit status != 0: 24.6576762390323 24.669427105 24.402971116 Calling exit ...