Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.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.00138/0.00138, 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.525/1.525, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.002001/0.002001, allocations: 229 kB / 309.2 MB, free: 2.93 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.6156/0.6156, allocations: 107.3 MB / 473 MB, free: 4.441 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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",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.002557/0.002557, allocations: 83.88 kB / 0.6332 GB, free: 4.949 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5503, allocations: 80.17 MB / 0.7115 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005181/0.5555, allocations: 4.402 MB / 0.7158 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.5588, allocations: 1.561 MB / 0.7173 GB, free: 124 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.5591, allocations: 5.75 kB / 0.7173 GB, free: 124 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.5595, allocations: 153.4 kB / 0.7175 GB, free: 44 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.5613, allocations: 0.6817 MB / 0.7182 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5623, allocations: 410.4 kB / 0.7185 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.5637, allocations: 1.083 MB / 0.7196 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.564, allocations: 143.3 kB / 0.7197 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006732/0.5647, allocations: 472.3 kB / 0.7202 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.5654, allocations: 0.5072 MB / 0.7207 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.5656, allocations: 100.6 kB / 0.7208 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.5661, allocations: 236.5 kB / 0.721 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.5663, allocations: 232.1 kB / 0.7212 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.5667, allocations: 391.2 kB / 0.7216 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.5683, allocations: 1.283 MB / 0.7229 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5683, allocations: 0 / 0.7229 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5683, allocations: 3.188 kB / 0.7229 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5684, allocations: 0 / 0.7229 GB, free: 13.31 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005799/0.5742, allocations: 1.719 MB / 0.7245 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5742, allocations: 10.28 kB / 0.7245 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.5744, allocations: 91.97 kB / 0.7246 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/0.5777, allocations: 0.5273 MB / 0.7252 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.5789, allocations: 0.5885 MB / 0.7257 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.5792, allocations: 194.2 kB / 0.7259 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.5793, allocations: 48.81 kB / 0.726 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.5808, allocations: 0.6635 MB / 0.7266 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5808, allocations: 0 / 0.7266 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.5809, allocations: 20.25 kB / 0.7266 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.5809, allocations: 15 kB / 0.7266 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.5824, allocations: 0.6306 MB / 0.7273 GB, free: 11.16 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.005393/0.5878, allocations: 2.104 MB / 0.7293 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.6004, allocations: 2.608 MB / 0.7319 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.6014, allocations: 408.2 kB / 0.7322 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.212e-05/0.6015, allocations: 6.312 kB / 0.7323 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6016, allocations: 41.78 kB / 0.7323 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/0.6016, allocations: 0 / 0.7323 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01299/0.6146, allocations: 3.292 MB / 0.7355 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.6146, allocations: 58.78 kB / 0.7356 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.6161, allocations: 0.776 MB / 0.7363 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.6162, allocations: 36.48 kB / 0.7364 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.6165, allocations: 352 kB / 0.7367 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.6168, allocations: 226 kB / 0.7369 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.6172, allocations: 169 kB / 0.7371 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.6174, allocations: 389.8 kB / 0.7374 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.6184, allocations: 0.5002 MB / 0.7379 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6197, allocations: 0.5935 MB / 0.7385 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01694/0.6366, allocations: 3.667 MB / 0.7421 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6367, allocations: 1.125 kB / 0.7421 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007959/0.6446, allocations: 2.388 MB / 0.7444 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.6446, allocations: 6.594 kB / 0.7444 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6447, allocations: 2.188 kB / 0.7444 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/0.6492, allocations: 1.051 MB / 0.7455 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/0.6502, allocations: 147.1 kB / 0.7456 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.6622, allocations: 4.854 MB / 0.7503 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.6638, allocations: 117.3 kB / 0.7505 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.6639, allocations: 33.64 kB / 0.7505 GB, free: 14.39 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006213/0.6646, allocations: 213.3 kB / 0.7507 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.6647, allocations: 88.84 kB / 0.7508 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006218/0.671, allocations: 1.923 MB / 0.7526 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.671, allocations: 11.98 kB / 0.7527 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.671, allocations: 4 kB / 0.7527 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.671, allocations: 0 / 0.7527 GB, free: 12.69 MB / 0.5137 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.007577/0.6786, allocations: 2.684 MB / 0.7553 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.6786, allocations: 0 / 0.7553 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.679, allocations: 63.84 kB / 0.7553 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/0.6824, allocations: 0.9448 MB / 0.7563 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.6825, allocations: 12 kB / 0.7563 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008663/0.6911, allocations: 3.92 MB / 0.7601 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6911, allocations: 3.938 kB / 0.7601 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007294/0.6984, allocations: 2.498 MB / 0.7626 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.6988, allocations: 111.3 kB / 0.7627 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6989, allocations: 12.17 kB / 0.7627 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.6997, allocations: 55.94 kB / 0.7627 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.7, allocations: 124.2 kB / 0.7628 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.7001, allocations: 15.98 kB / 0.7629 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007719/0.7008, allocations: 0.5186 MB / 0.7634 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7008, allocations: 0 / 0.7634 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001072/0.7019, allocations: 307.8 kB / 0.7637 GB, free: 1.215 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007623/0.7095, allocations: 3.07 MB / 0.7667 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004599/0.7141, allocations: 1.501 MB / 0.7681 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7141, allocations: 4.125 kB / 0.7681 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.7169, allocations: 0.8857 MB / 0.769 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.7177, allocations: 66.92 kB / 0.7691 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/0.7406, allocations: 9.898 MB / 0.7787 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.741, allocations: 356.6 kB / 0.7791 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.7413, allocations: 69.2 kB / 0.7791 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.7418, allocations: 283.3 kB / 0.7794 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of SimCode: time 1.482e-06/0.7418, allocations: 0 / 0.7794 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06467/0.8065, allocations: 23.71 MB / 0.8025 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.76, allocations: 7.438 kB / 0.8026 GB, free: 9.312 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.180284628178924] Failed to read output from testmodel.py, exit status != 0: 13.884770583827049 13.911908986 13.339083732 Calling exit ...