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.0009143/0.0009143, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8705/0.8705, allocations: 177.1 MB / 199.4 MB, free: 5.922 MB / 186.7 MB " [Timeout remaining time 179] 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.0009821/0.0009821, allocations: 156.6 kB / 256 MB, free: 13.33 MB / 250.7 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.2552/0.2552, allocations: 80.36 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5549 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.068e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003694/0.003715, allocations: 4.401 MB / 0.5592 GB, free: 8.188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.005842, allocations: 1.564 MB / 0.5608 GB, free: 6.621 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.006094, allocations: 4 kB / 0.5608 GB, free: 6.617 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.006396, allocations: 162.6 kB / 0.5609 GB, free: 6.457 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.007441, allocations: 0.6782 MB / 0.5616 GB, free: 5.777 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.007934, allocations: 410 kB / 0.562 GB, free: 5.379 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008095/0.008743, allocations: 1.121 MB / 0.5631 GB, free: 4.254 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.008959, allocations: 138.5 kB / 0.5632 GB, free: 4.094 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.009535, allocations: 0.6352 MB / 0.5638 GB, free: 3.457 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.009922, allocations: 450.6 kB / 0.5642 GB, free: 3.016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.01001, allocations: 100 kB / 0.5643 GB, free: 2.918 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.0103, allocations: 251.7 kB / 0.5646 GB, free: 2.672 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.01041, allocations: 227.1 kB / 0.5648 GB, free: 2.449 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.01061, allocations: 327 kB / 0.5651 GB, free: 2.129 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.01162, allocations: 1.316 MB / 0.5664 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01163, allocations: 0 / 0.5664 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01163, allocations: 4 kB / 0.5664 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.01164, allocations: 3.938 kB / 0.5664 GB, free: 0.8008 MB / 490.7 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.00284/0.01448, allocations: 1.704 MB / 0.5681 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.01452, allocations: 8.031 kB / 0.5681 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/0.0146, allocations: 94.7 kB / 0.5682 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.01617, allocations: 0.5306 MB / 0.5687 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.0168, allocations: 0.5898 MB / 0.5693 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.01693, allocations: 193.5 kB / 0.5694 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.017, allocations: 55.95 kB / 0.5695 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.0178, allocations: 0.6545 MB / 0.5701 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01781, allocations: 4 kB / 0.5701 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.01785, allocations: 23.92 kB / 0.5702 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01786, allocations: 8 kB / 0.5702 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.01862, allocations: 0.6286 MB / 0.5708 GB, free: 12.21 MB / 0.4948 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.002753/0.02137, allocations: 2.1 MB / 0.5728 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/0.0273, allocations: 2.599 MB / 0.5754 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.02781, allocations: 410.2 kB / 0.5758 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.02786, allocations: 8.484 kB / 0.5758 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.02788, allocations: 43 kB / 0.5758 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 1.733e-06/0.02788, allocations: 0 / 0.5758 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.00619/0.03407, allocations: 3.288 MB / 0.579 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.0341, allocations: 63.84 kB / 0.5791 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.03471, allocations: 0.7662 MB / 0.5798 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.03475, allocations: 37.7 kB / 0.5799 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.03512, allocations: 353.1 kB / 0.5802 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.03524, allocations: 230 kB / 0.5804 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.03544, allocations: 166.6 kB / 0.5806 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.03556, allocations: 398.7 kB / 0.581 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.03616, allocations: 0.49 MB / 0.5814 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.03681, allocations: 0.5992 MB / 0.582 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008363/0.04517, allocations: 3.666 MB / 0.5856 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.04518, allocations: 0 / 0.5856 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004143/0.04932, allocations: 2.376 MB / 0.5879 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.04935, allocations: 11.94 kB / 0.5879 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.04936, allocations: 4 kB / 0.5879 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.05161, allocations: 1.05 MB / 0.589 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.05209, allocations: 147.8 kB / 0.5891 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.05843, allocations: 4.863 MB / 0.5939 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.05917, allocations: 111.4 kB / 0.594 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.05923, allocations: 32 kB / 0.594 GB, free: 4.086 MB / 0.5105 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.000386/0.05961, allocations: 225.1 kB / 0.5942 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.05972, allocations: 83.44 kB / 0.5943 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.06289, allocations: 1.932 MB / 0.5962 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.0629, allocations: 8 kB / 0.5962 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.06291, allocations: 8 kB / 0.5962 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.06292, allocations: 7.922 kB / 0.5962 GB, free: 1.801 MB / 0.5105 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.1907/0.2536, allocations: 2.675 MB / 0.5988 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2536, allocations: 0 / 0.5988 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.254, allocations: 71.47 kB / 0.5989 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.2556, allocations: 0.9329 MB / 0.5998 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.2557, allocations: 11.19 kB / 0.5998 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/0.2599, allocations: 3.922 MB / 0.6036 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2599, allocations: 3.938 kB / 0.6036 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.2635, allocations: 2.5 MB / 0.6061 GB, free: 90.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.2638, allocations: 106.6 kB / 0.6062 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2638, allocations: 11.94 kB / 0.6062 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.2642, allocations: 57.8 kB / 0.6062 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.2644, allocations: 129.8 kB / 0.6064 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.2645, allocations: 11.22 kB / 0.6064 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003865/0.2648, allocations: 0.5181 MB / 0.6069 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2648, allocations: 0 / 0.6069 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006019/0.2654, allocations: 304.1 kB / 0.6072 GB, free: 90.48 MB / 0.5105 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.003964/0.2694, allocations: 3.073 MB / 0.6102 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.272, allocations: 1.486 MB / 0.6116 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.272, allocations: 1.875 kB / 0.6116 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.2735, allocations: 0.8903 MB / 0.6125 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.2739, allocations: 58.75 kB / 0.6126 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.2873, allocations: 9.766 MB / 0.6221 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2876, allocations: 349.5 kB / 0.6224 GB, free: 83.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002647/0.2878, allocations: 69.2 kB / 0.6225 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.2881, allocations: 290.5 kB / 0.6228 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.462e-06/0.2881, allocations: 1.312 kB / 0.6228 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.3197, allocations: 23.87 MB / 0.6461 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.482, allocations: 9.516 kB / 0.6461 GB, free: 71.82 MB / 0.5105 GB " [Timeout remaining time 652] (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: 11.390231989324093] Failed to read output from testmodel.py, exit status != 0: 7.570814684033394 7.57548578 7.56267175 Calling exit ...