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.001336/0.001336, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.413/1.413, allocations: 230.6 MB / 252.7 MB, free: 8.344 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.001654/0.001654, allocations: 212.1 kB / 309.2 MB, free: 3.168 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.5743/0.5743, allocations: 101.3 MB / 467 MB, free: 10.34 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.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.002438/0.002438, allocations: 87.88 kB / 0.6244 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4954, allocations: 78.61 MB / 0.7012 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005289/0.5007, allocations: 4.987 MB / 0.7061 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.5042, allocations: 1.663 MB / 0.7077 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.5047, allocations: 6.031 kB / 0.7077 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.5052, allocations: 161 kB / 0.7078 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.5069, allocations: 0.7046 MB / 0.7085 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.5077, allocations: 416.2 kB / 0.7089 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.5089, allocations: 1.091 MB / 0.71 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.5093, allocations: 143.6 kB / 0.7101 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007236/0.51, allocations: 473.4 kB / 0.7106 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.5108, allocations: 0.5607 MB / 0.7111 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.5109, allocations: 97.72 kB / 0.7112 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.5115, allocations: 252 kB / 0.7115 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.5117, allocations: 229.2 kB / 0.7117 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.5121, allocations: 478.7 kB / 0.7121 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.5138, allocations: 1.267 MB / 0.7134 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5139, allocations: 8 kB / 0.7134 GB, free: 1.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5139, allocations: 3.938 kB / 0.7134 GB, free: 1.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.5139, allocations: 6.5 kB / 0.7134 GB, free: 1.309 MB / 494.1 MB 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.00522/0.5191, allocations: 1.719 MB / 0.7151 GB, free: 472 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5191, allocations: 9.031 kB / 0.7151 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.5192, allocations: 95.89 kB / 0.7152 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.5223, allocations: 0.5253 MB / 0.7157 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.5233, allocations: 0.5843 MB / 0.7162 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.5235, allocations: 189.9 kB / 0.7164 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5236, allocations: 53.53 kB / 0.7165 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.5249, allocations: 0.6556 MB / 0.7171 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5249, allocations: 0 / 0.7171 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.525, allocations: 18.75 kB / 0.7171 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.525, allocations: 15.92 kB / 0.7172 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.5262, allocations: 0.6306 MB / 0.7178 GB, free: 15.17 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.004766/0.531, allocations: 2.599 MB / 0.7203 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.5431, allocations: 2.614 MB / 0.7229 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.5443, allocations: 400.2 kB / 0.7232 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.785e-05/0.5444, allocations: 7.078 kB / 0.7232 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.5444, allocations: 46.73 kB / 0.7233 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 2.765e-06/0.5444, allocations: 0 / 0.7233 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01345/0.5579, allocations: 3.296 MB / 0.7265 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.558, allocations: 57.31 kB / 0.7266 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.5594, allocations: 0.764 MB / 0.7273 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.5595, allocations: 40.47 kB / 0.7273 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.5599, allocations: 356.7 kB / 0.7277 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.5601, allocations: 224.8 kB / 0.7279 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.5605, allocations: 170.4 kB / 0.7281 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.5607, allocations: 393.1 kB / 0.7284 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.5617, allocations: 0.4922 MB / 0.7289 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.5629, allocations: 0.5994 MB / 0.7295 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/0.5785, allocations: 3.67 MB / 0.7331 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.5786, allocations: 0 / 0.7331 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007216/0.5858, allocations: 2.385 MB / 0.7354 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5858, allocations: 5.688 kB / 0.7354 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5858, allocations: 1.188 kB / 0.7354 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/0.59, allocations: 1.049 MB / 0.7365 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.5908, allocations: 151.7 kB / 0.7366 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.6022, allocations: 4.967 MB / 0.7414 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6036, allocations: 113.3 kB / 0.7416 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.6036, allocations: 29.22 kB / 0.7416 GB, free: 3.043 MB / 0.4981 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.0005029/0.6041, allocations: 209.2 kB / 0.7418 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.6043, allocations: 93.72 kB / 0.7419 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005935/0.6102, allocations: 1.933 MB / 0.7438 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.6103, allocations: 5.625 kB / 0.7438 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6103, allocations: 4.625 kB / 0.7438 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6103, allocations: 7.969 kB / 0.7438 GB, free: 1.766 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 postOpt removeSimpleEquations (simulation): time 0.007315/0.6176, allocations: 2.997 MB / 0.7467 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6176, allocations: 5.031 kB / 0.7467 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.618, allocations: 64.53 kB / 0.7468 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.6212, allocations: 0.9345 MB / 0.7477 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.6213, allocations: 15.72 kB / 0.7477 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008357/0.6297, allocations: 4.012 MB / 0.7516 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.6297, allocations: 7.922 kB / 0.7516 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007003/0.6367, allocations: 2.499 MB / 0.7541 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.6371, allocations: 111.3 kB / 0.7542 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6372, allocations: 12 kB / 0.7542 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.638, allocations: 51.94 kB / 0.7542 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.6383, allocations: 120.3 kB / 0.7543 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.6384, allocations: 19.98 kB / 0.7544 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000747/0.6391, allocations: 0.5186 MB / 0.7549 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6391, allocations: 0 / 0.7549 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009801/0.6401, allocations: 307.7 kB / 0.7552 GB, free: 8.527 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.00717/0.6473, allocations: 3.062 MB / 0.7582 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004437/0.6517, allocations: 1.504 MB / 0.7596 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6517, allocations: 0 / 0.7596 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002659/0.6544, allocations: 0.8859 MB / 0.7605 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.6551, allocations: 62.94 kB / 0.7605 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/0.6772, allocations: 9.894 MB / 0.7702 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.6778, allocations: 0.946 MB / 0.7711 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000318/0.6781, allocations: 69.12 kB / 0.7712 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.6785, allocations: 287.3 kB / 0.7715 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/0.6785, allocations: 0 / 0.7715 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/0.7398, allocations: 22.36 MB / 0.7933 GB, free: 1.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.84, allocations: 0 / 0.7933 GB, free: 1.328 MB / 0.545 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: 19.912655624000763] Failed to read output from testmodel.py, exit status != 0: 13.963672007997957 13.977158785 13.460408345 Calling exit ...