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.001913/0.001913, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.45/1.45, allocations: 177.2 MB / 200.1 MB, free: 9.016 MB / 190.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.00159/0.00159, allocations: 165.4 kB / 256.6 MB, free: 0.7539 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.03919/0.03919, allocations: 6.666 MB / 319.6 MB, free: 12.07 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: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2") [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.002557/0.002557, allocations: 87.81 kB / 446.5 MB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2818, allocations: 55.57 MB / 0.4903 GB, free: 76.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01273/0.2945, allocations: 14.44 MB / 0.5044 GB, free: 66.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009108/0.3036, allocations: 5.288 MB / 0.5096 GB, free: 62.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.307, allocations: 119.2 kB / 0.5097 GB, free: 62.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.3106, allocations: 1.217 MB / 0.5109 GB, free: 62.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.3155, allocations: 1.537 MB / 0.5124 GB, free: 61.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.318, allocations: 1.025 MB / 0.5134 GB, free: 60.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004948/0.323, allocations: 4.632 MB / 0.5179 GB, free: 58.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.3253, allocations: 1.916 MB / 0.5198 GB, free: 57.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.3277, allocations: 2.119 MB / 0.5218 GB, free: 56.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.3313, allocations: 2.306 MB / 0.5241 GB, free: 55.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.3325, allocations: 0.5553 MB / 0.5246 GB, free: 55.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.3345, allocations: 0.7772 MB / 0.5254 GB, free: 55.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009113/0.3354, allocations: 1.24 MB / 0.5266 GB, free: 54.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.3376, allocations: 1.89 MB / 0.5284 GB, free: 53.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009373/0.347, allocations: 7.404 MB / 0.5357 GB, free: 50.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.347, allocations: 0 / 0.5357 GB, free: 50.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.347, allocations: 0 / 0.5357 GB, free: 50.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002551/0.3473, allocations: 0 / 0.5357 GB, free: 50.46 MB / 446.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.01578/0.363, allocations: 4.884 MB / 0.5404 GB, free: 47.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3631, allocations: 8.938 kB / 0.5404 GB, free: 47.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.369, allocations: 0.939 MB / 0.5414 GB, free: 47.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/0.3763, allocations: 2.686 MB / 0.544 GB, free: 46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.3767, allocations: 273.2 kB / 0.5442 GB, free: 45.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.3779, allocations: 366.3 kB / 0.5446 GB, free: 45.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.3894, allocations: 4.842 MB / 0.5493 GB, free: 43.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.222e-05/0.3895, allocations: 14.14 kB / 0.5493 GB, free: 43.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.3899, allocations: 152.1 kB / 0.5495 GB, free: 43.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.3901, allocations: 153.6 kB / 0.5496 GB, free: 43.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007444/0.3975, allocations: 3.901 MB / 0.5534 GB, free: 41.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/0.4205, allocations: 13.24 MB / 0.5664 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.4249, allocations: 2.529 MB / 0.5688 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.4273, allocations: 1.363 MB / 0.5702 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006729/0.434, allocations: 3.296 MB / 0.5734 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.4341, allocations: 43.56 kB / 0.5734 GB, free: 24.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=125): time 3.868e-06/0.4341, allocations: 0 / 0.5734 GB, free: 24.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01717/0.4513, allocations: 5.944 MB / 0.5792 GB, free: 18.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4513, allocations: 72.66 kB / 0.5793 GB, free: 17.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004871/0.4562, allocations: 1.858 MB / 0.5811 GB, free: 16.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.4565, allocations: 49.7 kB / 0.5812 GB, free: 16.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.4578, allocations: 1.769 MB / 0.5829 GB, free: 14.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/0.4586, allocations: 0.5733 MB / 0.5835 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.4596, allocations: 408.1 kB / 0.5838 GB, free: 13.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.4596, allocations: 301.1 kB / 0.5841 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.4616, allocations: 0.7774 MB / 0.5849 GB, free: 12.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.4638, allocations: 1.577 MB / 0.5864 GB, free: 10.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02495/0.4888, allocations: 4.836 MB / 0.5911 GB, free: 5.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.4888, allocations: 4 kB / 0.5912 GB, free: 5.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.007774/0.4966, allocations: 2.858 MB / 0.5939 GB, free: 2.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.4966, allocations: 16 kB / 0.594 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.272e-05/0.4967, allocations: 32 kB / 0.594 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.4981, allocations: 359.8 kB / 0.5943 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.5012, allocations: 487.2 kB / 0.5948 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/0.5107, allocations: 3.899 MB / 0.5986 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/0.5141, allocations: 95.88 kB / 0.5987 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/0.5145, allocations: 99.94 kB / 0.5988 GB, free: 13.11 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.003824/0.5183, allocations: 1.097 MB / 0.5999 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009561/0.5193, allocations: 218.6 kB / 0.6001 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00748/0.5268, allocations: 1.953 MB / 0.602 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/0.5268, allocations: 16 kB / 0.602 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/0.5268, allocations: 4 kB / 0.602 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/0.5269, allocations: 7.969 kB / 0.602 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.5439, allocations: 4.547 MB / 0.6064 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5439, allocations: 4 kB / 0.6064 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/0.5461, allocations: 263.7 kB / 0.6067 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.5476, allocations: 288.6 kB / 0.607 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/0.5478, allocations: 35.98 kB / 0.607 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009381/0.5571, allocations: 3.654 MB / 0.6106 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.5571, allocations: 4.047 kB / 0.6106 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00915/0.5663, allocations: 2.918 MB / 0.6134 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/0.5682, allocations: 378.5 kB / 0.6138 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/0.5688, allocations: 32 kB / 0.6138 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.5706, allocations: 63.91 kB / 0.6139 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.5709, allocations: 113 kB / 0.614 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.5711, allocations: 47.98 kB / 0.614 GB, free: 13.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003411/0.5745, allocations: 1.206 MB / 0.6152 GB, free: 11.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5745, allocations: 3.938 kB / 0.6152 GB, free: 11.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004019/0.5786, allocations: 0.6367 MB / 0.6158 GB, free: 11.34 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.0005169/0.5791, allocations: 171.5 kB / 0.616 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007163/0.5862, allocations: 2.127 MB / 0.6181 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5862, allocations: 3.938 kB / 0.6181 GB, free: 9.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003617/0.5899, allocations: 1.018 MB / 0.6191 GB, free: 7.992 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/0.5943, allocations: 486.8 kB / 0.6195 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.6097, allocations: 6.194 MB / 0.6256 GB, free: 1.258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.6126, allocations: 1.896 MB / 0.6274 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0021/0.6147, allocations: 478 kB / 0.6279 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006957/0.6154, allocations: 148.5 kB / 0.628 GB, free: 14.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6154, allocations: 0 / 0.628 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Templates: time 0.05761/0.673, allocations: 28.83 MB / 0.6562 GB, free: 2.262 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.10167923301924] Failed to read output from testmodel.py, exit status != 0: 0.6832714170450345 0.857353844 0.507552532 Calling exit ...