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.002275/0.002275, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.452/1.452, allocations: 230.6 MB / 249.8 MB, free: 9.234 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.001511/0.001511, allocations: 208.4 kB / 306 MB, free: 4.301 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.5793/0.5793, allocations: 101.3 MB / 463.4 MB, free: 11.92 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.002629/0.002629, allocations: 77.61 kB / 0.6193 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.173, allocations: 78.59 MB / 0.696 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.3406/0.5137, allocations: 4.948 MB / 0.7009 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.5171, allocations: 1.657 MB / 0.7025 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.5176, allocations: 5.438 kB / 0.7025 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.5181, allocations: 157.6 kB / 0.7026 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.5197, allocations: 0.6916 MB / 0.7033 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009283/0.5206, allocations: 426.2 kB / 0.7037 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.5219, allocations: 1.083 MB / 0.7048 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.5222, allocations: 157.2 kB / 0.7049 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.5228, allocations: 460.1 kB / 0.7054 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.5235, allocations: 0.5658 MB / 0.7059 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.5237, allocations: 98.78 kB / 0.706 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006328/0.5243, allocations: 251.8 kB / 0.7063 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.5245, allocations: 230.2 kB / 0.7065 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.5249, allocations: 474.3 kB / 0.7069 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.5265, allocations: 1.274 MB / 0.7082 GB, free: 2.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5265, allocations: 0.75 kB / 0.7082 GB, free: 2.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5265, allocations: 0 / 0.7082 GB, free: 2.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.5265, allocations: 1.438 kB / 0.7082 GB, free: 2.184 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.005615/0.5321, allocations: 1.798 MB / 0.7099 GB, free: 1.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.5322, allocations: 8.781 kB / 0.7099 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.5323, allocations: 90.81 kB / 0.71 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.5358, allocations: 0.5251 MB / 0.7105 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.5367, allocations: 0.6557 MB / 0.7112 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.5369, allocations: 145 kB / 0.7113 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.537, allocations: 50.38 kB / 0.7114 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5383, allocations: 0.6543 MB / 0.712 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5383, allocations: 4 kB / 0.712 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.5384, allocations: 22.28 kB / 0.712 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5384, allocations: 15.89 kB / 0.712 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.5396, allocations: 0.6248 MB / 0.7127 GB, free: 15.94 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.004909/0.5445, allocations: 2.635 MB / 0.7152 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/0.5577, allocations: 2.763 MB / 0.7179 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.5588, allocations: 405.1 kB / 0.7183 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.126e-05/0.5589, allocations: 6.359 kB / 0.7183 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.559, allocations: 38.86 kB / 0.7184 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/0.559, allocations: 0 / 0.7184 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01457/0.5735, allocations: 3.519 MB / 0.7218 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.5736, allocations: 57.09 kB / 0.7219 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.575, allocations: 0.7699 MB / 0.7226 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.5751, allocations: 36.58 kB / 0.7226 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.5755, allocations: 363.6 kB / 0.723 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.5758, allocations: 224.7 kB / 0.7232 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.5762, allocations: 174 kB / 0.7234 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.5764, allocations: 396.8 kB / 0.7237 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.5775, allocations: 0.492 MB / 0.7242 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5787, allocations: 0.5958 MB / 0.7248 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/0.596, allocations: 3.664 MB / 0.7284 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.596, allocations: 1.062 kB / 0.7284 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007969/0.6039, allocations: 2.382 MB / 0.7307 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.604, allocations: 6.125 kB / 0.7307 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.604, allocations: 4.219 kB / 0.7307 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00444/0.6084, allocations: 1.051 MB / 0.7317 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/0.6093, allocations: 151.5 kB / 0.7319 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.6211, allocations: 5.071 MB / 0.7368 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.6225, allocations: 116.9 kB / 0.737 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/0.6226, allocations: 34.05 kB / 0.737 GB, free: 3.562 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.0005152/0.6231, allocations: 206.5 kB / 0.7372 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.6233, allocations: 89.31 kB / 0.7373 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006323/0.6296, allocations: 1.93 MB / 0.7392 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.6296, allocations: 5.688 kB / 0.7392 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.6296, allocations: 12.67 kB / 0.7392 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.6296, allocations: 0 / 0.7392 GB, free: 2.297 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.007735/0.6374, allocations: 3.034 MB / 0.7421 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6374, allocations: 1.219 kB / 0.7421 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.6378, allocations: 61.89 kB / 0.7422 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.6414, allocations: 0.9431 MB / 0.7431 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.6414, allocations: 14.84 kB / 0.7431 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008998/0.6504, allocations: 4.112 MB / 0.7471 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6504, allocations: 3.938 kB / 0.7471 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/0.6579, allocations: 2.509 MB / 0.7496 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.6584, allocations: 184.3 kB / 0.7498 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6585, allocations: 12 kB / 0.7498 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/0.6592, allocations: 55.94 kB / 0.7498 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/0.6596, allocations: 124.4 kB / 0.75 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.6597, allocations: 12 kB / 0.75 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007756/0.6605, allocations: 0.5186 MB / 0.7505 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6605, allocations: 0 / 0.7505 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001046/0.6615, allocations: 303.8 kB / 0.7508 GB, free: 9.371 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.007875/0.6694, allocations: 3.072 MB / 0.7538 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004879/0.6743, allocations: 1.655 MB / 0.7554 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6743, allocations: 192 / 0.7554 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.6772, allocations: 1.041 MB / 0.7564 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.678, allocations: 67.72 kB / 0.7565 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/0.7014, allocations: 9.9 MB / 0.7661 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.7021, allocations: 0.942 MB / 0.7671 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000365/0.7025, allocations: 69.12 kB / 0.7671 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.7029, allocations: 283.3 kB / 0.7674 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.7029, allocations: 0 / 0.7674 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0593/0.7622, allocations: 21.79 MB / 0.7887 GB, free: 2.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.34, allocations: 13.98 kB / 0.7887 GB, free: 2.305 MB / 0.545 GB " [Timeout remaining time 647] (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.480917098000646] Failed to read output from testmodel.py, exit status != 0: 13.431534228147939 13.447591039 12.917746504 Calling exit ...