Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.001307/0.001307, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.392/1.392, allocations: 230.6 MB / 252.7 MB, free: 8.074 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.001735/0.001735, allocations: 214.5 kB / 309.2 MB, free: 2.934 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.04127/0.04127, allocations: 8.916 MB / 374.6 MB, free: 1.707 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_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",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.002796/0.002796, allocations: 83.88 kB / 0.4892 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2635, allocations: 55.6 MB / 0.5435 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01195/0.2754, allocations: 14.43 MB / 0.5576 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008127/0.2835, allocations: 5.293 MB / 0.5628 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.2861, allocations: 122.6 kB / 0.5629 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.289, allocations: 1.213 MB / 0.5641 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.2932, allocations: 1.549 MB / 0.5656 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.2957, allocations: 1.009 MB / 0.5666 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005549/0.3012, allocations: 4.641 MB / 0.5711 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.3042, allocations: 1.91 MB / 0.573 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.3076, allocations: 2.117 MB / 0.575 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00509/0.3126, allocations: 2.306 MB / 0.5773 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.3142, allocations: 0.5565 MB / 0.5778 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.3174, allocations: 0.7699 MB / 0.5786 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.3193, allocations: 1.239 MB / 0.5798 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004497/0.3238, allocations: 1.9 MB / 0.5816 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.333, allocations: 7.4 MB / 0.5889 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3331, allocations: 0 / 0.5889 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3331, allocations: 0 / 0.5889 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002512/0.3333, allocations: 1.188 kB / 0.5889 GB, free: 13.96 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.01515/0.3485, allocations: 4.889 MB / 0.5936 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3485, allocations: 8.031 kB / 0.5936 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00163/0.3501, allocations: 0.5529 MB / 0.5942 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005645/0.3558, allocations: 0.939 MB / 0.5951 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00781/0.3636, allocations: 2.687 MB / 0.5977 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.3639, allocations: 275.8 kB / 0.598 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.3652, allocations: 367.9 kB / 0.5983 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.378, allocations: 4.842 MB / 0.6031 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.3781, allocations: 0 / 0.6031 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009702/0.3791, allocations: 152 kB / 0.6032 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3793, allocations: 159.3 kB / 0.6034 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008685/0.388, allocations: 3.901 MB / 0.6072 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.4145, allocations: 13.79 MB / 0.6206 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/0.4196, allocations: 2.528 MB / 0.6231 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/0.4222, allocations: 1.359 MB / 0.6244 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007681/0.4299, allocations: 3.335 MB / 0.6277 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.4299, allocations: 55.48 kB / 0.6278 GB, free: 5.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=125): time 3.527e-06/0.4299, allocations: 0 / 0.6278 GB, free: 5.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.01394/0.4439, allocations: 5.947 MB / 0.6336 GB, free: 15.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4439, allocations: 72.7 kB / 0.6336 GB, free: 15.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.4476, allocations: 2.125 MB / 0.6357 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.4477, allocations: 53.7 kB / 0.6358 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.4491, allocations: 1.755 MB / 0.6375 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.4496, allocations: 0.5578 MB / 0.638 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/0.4503, allocations: 412 kB / 0.6384 GB, free: 10.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4504, allocations: 305.1 kB / 0.6387 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.4518, allocations: 0.7774 MB / 0.6395 GB, free: 9.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.4537, allocations: 1.573 MB / 0.641 GB, free: 7.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/0.4682, allocations: 4.84 MB / 0.6457 GB, free: 2.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/0.4683, allocations: 8 kB / 0.6457 GB, free: 2.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005509/0.4738, allocations: 2.877 MB / 0.6485 GB, free: 15.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.4738, allocations: 20.12 kB / 0.6486 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.576e-05/0.4739, allocations: 24 kB / 0.6486 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4749, allocations: 360.5 kB / 0.6489 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.4767, allocations: 495.2 kB / 0.6494 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/0.482, allocations: 3.921 MB / 0.6532 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.484, allocations: 95.83 kB / 0.6533 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.4842, allocations: 104 kB / 0.6534 GB, free: 10.64 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[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (256): * Single equations (assignments): 254 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002118/0.4863, allocations: 1.091 MB / 0.6545 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.4869, allocations: 242.6 kB / 0.6547 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.4906, allocations: 1.962 MB / 0.6566 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4907, allocations: 20 kB / 0.6566 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4907, allocations: 11.88 kB / 0.6567 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.4907, allocations: 7.969 kB / 0.6567 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.5008, allocations: 5.034 MB / 0.6616 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.5009, allocations: 4 kB / 0.6616 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.502, allocations: 272 kB / 0.6618 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008006/0.5028, allocations: 282.3 kB / 0.6621 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.5029, allocations: 35.98 kB / 0.6621 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.5079, allocations: 3.692 MB / 0.6658 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.5079, allocations: 7.938 kB / 0.6658 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.513, allocations: 2.933 MB / 0.6686 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.5143, allocations: 406.4 kB / 0.669 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005792/0.5149, allocations: 35.98 kB / 0.669 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.5162, allocations: 63.91 kB / 0.6691 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.5164, allocations: 117 kB / 0.6692 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5165, allocations: 43.98 kB / 0.6693 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00267/0.5192, allocations: 1.4 MB / 0.6706 GB, free: 8.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5192, allocations: 4 kB / 0.6706 GB, free: 8.691 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002718/0.5219, allocations: 0.6444 MB / 0.6713 GB, free: 8.047 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 (smee.phiMechanical,smee.is[2],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 (132): * Single equations (assignments): 131 * 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 {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005347/0.5273, allocations: 3.556 MB / 0.6747 GB, free: 4.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00389/0.5312, allocations: 2.119 MB / 0.6768 GB, free: 2.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5312, allocations: 0 / 0.6768 GB, free: 2.305 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.533, allocations: 1.025 MB / 0.6778 GB, free: 1.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.536, allocations: 0.5835 MB / 0.6784 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2337/0.7697, allocations: 22.15 MB / 0.7 GB, free: 119.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.7714, allocations: 1.9 MB / 0.7019 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001475/0.7729, allocations: 0.4967 MB / 0.7023 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.7742, allocations: 1.34 MB / 0.7037 GB, free: 118.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7742, allocations: 0 / 0.7037 GB, free: 118.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09925/0.8734, allocations: 59.95 MB / 0.7622 GB, free: 79.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.4, allocations: 5.406 kB / 0.7622 GB, free: 79.83 MB / 494.1 MB " [Timeout remaining time 645] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2_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_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.217278997413814] Failed to read output from testmodel.py, exit status != 0: 14.544779495801777 14.554312987 14.218887414 Calling exit ...