Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001362/0.001362, 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.558/1.558, 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.001614/0.001614, allocations: 214 kB / 309.2 MB, free: 3.137 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.6357/0.6357, allocations: 107.2 MB / 472.8 MB, free: 29.89 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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_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.0025/0.0025, allocations: 81.7 kB / 0.633 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.174, allocations: 80.15 MB / 0.7113 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.007467/0.1815, allocations: 4.404 MB / 0.7156 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.1856, allocations: 1.564 MB / 0.7171 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.1864, allocations: 11.94 kB / 0.7171 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.1871, allocations: 150.7 kB / 0.7173 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1896, allocations: 0.6855 MB / 0.718 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1908, allocations: 400.8 kB / 0.7183 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.1929, allocations: 1.086 MB / 0.7194 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.1933, allocations: 138.8 kB / 0.7195 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1944, allocations: 474.1 kB / 0.72 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.1956, allocations: 0.5133 MB / 0.7205 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003878/0.1959, allocations: 96 kB / 0.7206 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.1967, allocations: 243.9 kB / 0.7208 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.1969, allocations: 231.1 kB / 0.721 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004385/0.1973, allocations: 390 kB / 0.7214 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.1991, allocations: 1.284 MB / 0.7227 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1991, allocations: 0 / 0.7227 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1991, allocations: 0 / 0.7227 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.1991, allocations: 0 / 0.7227 GB, free: 12.05 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.005926/0.205, allocations: 1.731 MB / 0.7243 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2051, allocations: 8.031 kB / 0.7244 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.2052, allocations: 90.7 kB / 0.7244 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/0.2085, allocations: 0.5228 MB / 0.7249 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2098, allocations: 0.5859 MB / 0.7255 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.21, allocations: 193.5 kB / 0.7257 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.2102, allocations: 55.94 kB / 0.7258 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2117, allocations: 0.6506 MB / 0.7264 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2117, allocations: 0 / 0.7264 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.2117, allocations: 23.98 kB / 0.7264 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.2118, allocations: 19.94 kB / 0.7264 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.2131, allocations: 0.6247 MB / 0.727 GB, free: 7.438 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.005295/0.2184, allocations: 2.104 MB / 0.7291 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.2308, allocations: 2.603 MB / 0.7316 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.2319, allocations: 412.3 kB / 0.732 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.232, allocations: 8.5 kB / 0.732 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.232, allocations: 43.06 kB / 0.7321 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 3.046e-06/0.232, allocations: 0 / 0.7321 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01371/0.2457, allocations: 3.28 MB / 0.7353 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.2458, allocations: 59.91 kB / 0.7353 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.2475, allocations: 0.7778 MB / 0.7361 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.2476, allocations: 33.7 kB / 0.7361 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.248, allocations: 357.1 kB / 0.7365 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.2484, allocations: 222.2 kB / 0.7367 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/0.2489, allocations: 170.6 kB / 0.7369 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002567/0.2491, allocations: 394.7 kB / 0.7372 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.2503, allocations: 0.49 MB / 0.7377 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.2515, allocations: 0.5992 MB / 0.7383 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/0.2691, allocations: 3.662 MB / 0.7419 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.2691, allocations: 0 / 0.7419 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008331/0.2774, allocations: 2.388 MB / 0.7442 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.2775, allocations: 11.94 kB / 0.7442 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.2775, allocations: 0 / 0.7442 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004458/0.2819, allocations: 1.047 MB / 0.7452 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.2829, allocations: 151.7 kB / 0.7454 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.2949, allocations: 4.877 MB / 0.7501 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.2964, allocations: 119.3 kB / 0.7503 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.2966, allocations: 28 kB / 0.7503 GB, free: 15.3 MB / 0.5294 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.0007371/0.2974, allocations: 205.7 kB / 0.7505 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.2977, allocations: 87.42 kB / 0.7506 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006407/0.3041, allocations: 1.928 MB / 0.7524 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.3041, allocations: 8 kB / 0.7525 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.3041, allocations: 4 kB / 0.7525 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.3041, allocations: 7.984 kB / 0.7525 GB, free: 13.04 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.008076/0.3122, allocations: 2.672 MB / 0.7551 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3122, allocations: 7.938 kB / 0.7551 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.3127, allocations: 63.91 kB / 0.7551 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/0.3161, allocations: 0.9371 MB / 0.7561 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.3162, allocations: 15.98 kB / 0.7561 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009268/0.3255, allocations: 3.916 MB / 0.7599 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3255, allocations: 7.875 kB / 0.7599 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/0.3332, allocations: 2.51 MB / 0.7624 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.3336, allocations: 107.3 kB / 0.7625 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.3339, allocations: 12.12 kB / 0.7625 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/0.3349, allocations: 55.94 kB / 0.7625 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.3353, allocations: 128.2 kB / 0.7626 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.3353, allocations: 16 kB / 0.7627 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000973/0.3363, allocations: 0.5147 MB / 0.7632 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3363, allocations: 0 / 0.7632 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001259/0.3376, allocations: 311.7 kB / 0.7635 GB, free: 1.555 MB / 0.5294 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.008161/0.3457, allocations: 3.07 MB / 0.7665 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004935/0.3507, allocations: 1.493 MB / 0.7679 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3507, allocations: 0 / 0.7679 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/0.3536, allocations: 0.8859 MB / 0.7688 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.3545, allocations: 70.88 kB / 0.7688 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/0.3801, allocations: 9.89 MB / 0.7785 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.3806, allocations: 352.5 kB / 0.7788 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000393/0.381, allocations: 65.22 kB / 0.7789 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/0.3816, allocations: 295.3 kB / 0.7792 GB, free: 1.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.733e-06/0.3816, allocations: 0 / 0.7792 GB, free: 1.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/0.4584, allocations: 23.7 MB / 0.8023 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.15, allocations: 7.938 kB / 0.8023 GB, free: 9.633 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.9442098159343] Failed to read output from testmodel.py, exit status != 0: 13.270433607045561 13.590297908 13.38820727 Calling exit ...