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.0007415/0.0007415, 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.8508/0.8508, allocations: 177.1 MB / 199.4 MB, free: 5.941 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.001414/0.001414, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2627/0.2627, allocations: 80.25 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5548 GB, free: 12.72 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.498e-05, allocations: 6.219 kB / 0.5548 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003398/0.003413, allocations: 4.387 MB / 0.5591 GB, free: 8.301 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.005084, allocations: 1.568 MB / 0.5606 GB, free: 6.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.005266, allocations: 4 kB / 0.5606 GB, free: 6.727 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.005543, allocations: 166.5 kB / 0.5608 GB, free: 6.562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008836/0.006427, allocations: 0.6824 MB / 0.5614 GB, free: 5.879 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.006848, allocations: 410 kB / 0.5618 GB, free: 5.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.007507, allocations: 1.117 MB / 0.5629 GB, free: 4.359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.007704, allocations: 138.5 kB / 0.563 GB, free: 4.199 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.00816, allocations: 0.6391 MB / 0.5637 GB, free: 3.559 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.008516, allocations: 454.6 kB / 0.5641 GB, free: 3.113 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.008597, allocations: 100 kB / 0.5642 GB, free: 3.016 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.008835, allocations: 243.8 kB / 0.5644 GB, free: 2.777 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.008973, allocations: 227.1 kB / 0.5646 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.00916, allocations: 327 kB / 0.5649 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008043/0.009964, allocations: 1.32 MB / 0.5662 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.009966, allocations: 0 / 0.5662 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.009967, allocations: 0 / 0.5662 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.009975, allocations: 0 / 0.5662 GB, free: 0.9102 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.002743/0.01272, allocations: 1.715 MB / 0.5679 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.01275, allocations: 8.031 kB / 0.5679 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.115e-05/0.01283, allocations: 90.7 kB / 0.568 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.01446, allocations: 0.5267 MB / 0.5685 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.01506, allocations: 0.5859 MB / 0.5691 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.01518, allocations: 197.5 kB / 0.5693 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.01526, allocations: 59.88 kB / 0.5693 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.01607, allocations: 0.6545 MB / 0.57 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01608, allocations: 0 / 0.57 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.01613, allocations: 16 kB / 0.57 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.01613, allocations: 16 kB / 0.57 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.01691, allocations: 0.6208 MB / 0.5706 GB, free: 12.32 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.00262/0.01953, allocations: 2.1 MB / 0.5727 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005942/0.02547, allocations: 2.607 MB / 0.5752 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.02599, allocations: 409.2 kB / 0.5756 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.02605, allocations: 8.5 kB / 0.5756 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.02607, allocations: 43 kB / 0.5757 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 1.834e-06/0.02607, allocations: 0 / 0.5757 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.006534/0.0326, allocations: 3.292 MB / 0.5789 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.03263, allocations: 55.91 kB / 0.5789 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.03326, allocations: 0.7662 MB / 0.5797 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.0333, allocations: 37.7 kB / 0.5797 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.03348, allocations: 357.1 kB / 0.58 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.0336, allocations: 222 kB / 0.5803 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.03381, allocations: 178.6 kB / 0.5804 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.03392, allocations: 394.7 kB / 0.5808 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.03455, allocations: 0.4938 MB / 0.5813 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.03522, allocations: 0.5953 MB / 0.5819 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008152/0.04338, allocations: 3.67 MB / 0.5855 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.04338, allocations: 0 / 0.5855 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004035/0.04741, allocations: 2.384 MB / 0.5878 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.04743, allocations: 8 kB / 0.5878 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.04744, allocations: 0 / 0.5878 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.04964, allocations: 1.047 MB / 0.5888 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.05003, allocations: 151.7 kB / 0.589 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/0.05619, allocations: 4.857 MB / 0.5937 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.05669, allocations: 111.5 kB / 0.5938 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.05674, allocations: 31.98 kB / 0.5938 GB, free: 4.195 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.0003163/0.05705, allocations: 219.9 kB / 0.594 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.05715, allocations: 91.42 kB / 0.5941 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.06038, allocations: 1.928 MB / 0.596 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.06039, allocations: 11.94 kB / 0.596 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.06039, allocations: 11.98 kB / 0.596 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.0604, allocations: 4 kB / 0.596 GB, free: 1.91 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.1771/0.2375, allocations: 2.675 MB / 0.5987 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2375, allocations: 0.6562 kB / 0.5987 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.2378, allocations: 66.23 kB / 0.5987 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.2395, allocations: 0.9349 MB / 0.5996 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.2395, allocations: 16.47 kB / 0.5996 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.2438, allocations: 3.912 MB / 0.6035 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2438, allocations: 3.234 kB / 0.6035 GB, free: 91.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.2473, allocations: 2.507 MB / 0.6059 GB, free: 91.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2475, allocations: 107.4 kB / 0.606 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.2475, allocations: 11.94 kB / 0.606 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.2479, allocations: 57.61 kB / 0.6061 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.2481, allocations: 123.9 kB / 0.6062 GB, free: 91.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.2481, allocations: 11.34 kB / 0.6062 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003728/0.2485, allocations: 0.5235 MB / 0.6067 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2485, allocations: 0 / 0.6067 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005768/0.2491, allocations: 300.1 kB / 0.607 GB, free: 90.79 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.003859/0.2529, allocations: 3.074 MB / 0.61 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.2554, allocations: 1.491 MB / 0.6115 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2554, allocations: 64 / 0.6115 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.2568, allocations: 0.8927 MB / 0.6123 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.2571, allocations: 59.39 kB / 0.6124 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.2697, allocations: 9.759 MB / 0.6219 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.27, allocations: 348.3 kB / 0.6223 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.2701, allocations: 71.38 kB / 0.6223 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.2704, allocations: 286.1 kB / 0.6226 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of SimCode: time 6.62e-07/0.2704, allocations: 1.312 kB / 0.6226 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.3013, allocations: 23.87 MB / 0.6459 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.51, allocations: 9.359 kB / 0.6459 GB, free: 72.24 MB / 0.5105 GB " [Timeout remaining time 652] (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: 11.479987782426178] Failed to read output from testmodel.py, exit status != 0: 7.603116725571454 7.613614871 7.601629158 Calling exit ...