Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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.00133/0.00133, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.378/1.378, allocations: 230.6 MB / 252.7 MB, free: 8.078 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.001559/0.001559, allocations: 224.2 kB / 309.2 MB, free: 2.922 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04019/0.04019, allocations: 8.907 MB / 374.6 MB, free: 1.711 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica 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: HanserModelica 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.002451/0.002451, allocations: 87.88 kB / 0.4892 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2678, allocations: 55.6 MB / 0.5435 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01318/0.281, allocations: 14.44 MB / 0.5576 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009867/0.2909, allocations: 5.289 MB / 0.5628 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.294, allocations: 121.5 kB / 0.5629 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.2973, allocations: 1.218 MB / 0.5641 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.3018, allocations: 1.543 MB / 0.5656 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.3043, allocations: 1.021 MB / 0.5666 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005529/0.3099, allocations: 4.632 MB / 0.5711 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.3138, allocations: 1.906 MB / 0.573 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.3175, allocations: 2.12 MB / 0.575 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0046/0.3221, allocations: 2.309 MB / 0.5773 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.3237, allocations: 0.5587 MB / 0.5778 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.3272, allocations: 0.7698 MB / 0.5786 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002234/0.3295, allocations: 1.239 MB / 0.5798 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004572/0.334, allocations: 1.896 MB / 0.5816 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00807/0.3421, allocations: 7.399 MB / 0.5889 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3421, allocations: 0 / 0.5889 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3421, allocations: 5.125 kB / 0.5889 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001808/0.3423, allocations: 0 / 0.5889 GB, free: 13.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01321/0.3555, allocations: 4.888 MB / 0.5936 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3555, allocations: 12.03 kB / 0.5937 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009637/0.3565, allocations: 0.549 MB / 0.5942 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/0.3614, allocations: 0.9429 MB / 0.5951 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006576/0.368, allocations: 2.679 MB / 0.5977 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.3682, allocations: 275.8 kB / 0.598 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007228/0.369, allocations: 371.9 kB / 0.5983 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008959/0.3779, allocations: 4.833 MB / 0.6031 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.17e-05/0.378, allocations: 3.938 kB / 0.6031 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.3784, allocations: 156 kB / 0.6032 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.3785, allocations: 155.3 kB / 0.6034 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/0.3856, allocations: 3.898 MB / 0.6072 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02377/0.4093, allocations: 13.64 MB / 0.6205 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/0.4139, allocations: 2.411 MB / 0.6228 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.416, allocations: 1.195 MB / 0.624 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007225/0.4232, allocations: 3.191 MB / 0.6271 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.4233, allocations: 51.48 kB / 0.6272 GB, free: 6.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 4.308e-06/0.4233, allocations: 0 / 0.6272 GB, free: 6.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01167/0.435, allocations: 5.165 MB / 0.6322 GB, free: 1.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.435, allocations: 64.72 kB / 0.6323 GB, free: 1.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.4383, allocations: 2.22 MB / 0.6345 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/0.4384, allocations: 49.7 kB / 0.6345 GB, free: 14.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.4398, allocations: 1.798 MB / 0.6363 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/0.4403, allocations: 0.5152 MB / 0.6368 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006195/0.4409, allocations: 412 kB / 0.6372 GB, free: 12.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.441, allocations: 309.1 kB / 0.6374 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.4422, allocations: 0.7618 MB / 0.6382 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.4442, allocations: 1.574 MB / 0.6397 GB, free: 9.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/0.4588, allocations: 4.783 MB / 0.6444 GB, free: 4.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-05/0.4588, allocations: 8 kB / 0.6444 GB, free: 4.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005082/0.4639, allocations: 2.798 MB / 0.6471 GB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.4639, allocations: 16 kB / 0.6472 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.464, allocations: 24 kB / 0.6472 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007565/0.4647, allocations: 282.1 kB / 0.6474 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.4665, allocations: 495.2 kB / 0.6479 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/0.4708, allocations: 3.23 MB / 0.6511 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.4729, allocations: 111.7 kB / 0.6512 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.4731, allocations: 100 kB / 0.6513 GB, free: 12.86 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002047/0.4751, allocations: 1.093 MB / 0.6523 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/0.4756, allocations: 242.4 kB / 0.6526 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.4787, allocations: 1.759 MB / 0.6543 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4787, allocations: 12 kB / 0.6543 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4787, allocations: 4 kB / 0.6543 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.4788, allocations: 11.91 kB / 0.6543 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.4866, allocations: 4.632 MB / 0.6588 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.4866, allocations: 7.938 kB / 0.6588 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.4878, allocations: 259.9 kB / 0.6591 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005976/0.4883, allocations: 215.4 kB / 0.6593 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.4884, allocations: 39.98 kB / 0.6593 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.4925, allocations: 3.109 MB / 0.6624 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4925, allocations: 3.938 kB / 0.6624 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/0.4969, allocations: 2.665 MB / 0.665 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.4981, allocations: 394.4 kB / 0.6654 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.4984, allocations: 39.86 kB / 0.6654 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/0.4994, allocations: 55.97 kB / 0.6654 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.4996, allocations: 105 kB / 0.6655 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.4997, allocations: 43.98 kB / 0.6656 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002278/0.502, allocations: 1.448 MB / 0.667 GB, free: 12.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.502, allocations: 4 kB / 0.667 GB, free: 12.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5042, allocations: 0.6367 MB / 0.6676 GB, free: 11.8 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0046/0.5088, allocations: 3.274 MB / 0.6708 GB, free: 8.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.5124, allocations: 1.995 MB / 0.6728 GB, free: 6.461 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5124, allocations: 3.938 kB / 0.6728 GB, free: 6.457 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.5139, allocations: 0.8827 MB / 0.6736 GB, free: 5.562 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.5166, allocations: 0.5798 MB / 0.6742 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.239/0.7556, allocations: 21.8 MB / 0.6955 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.758, allocations: 1.891 MB / 0.6973 GB, free: 120.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00166/0.7597, allocations: 0.5 MB / 0.6978 GB, free: 120.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.761, allocations: 1.336 MB / 0.6991 GB, free: 120.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.761, allocations: 6.625 kB / 0.6991 GB, free: 120.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09936/0.8604, allocations: 58.67 MB / 0.7564 GB, free: 86.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.35, allocations: 5.359 kB / 0.7564 GB, free: 86.29 MB / 494.1 MB " [Timeout remaining time 645] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.19211298506707] Failed to read output from testmodel.py, exit status != 0: 14.502646310254931 14.513399955 14.168865892 Calling exit ...