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.001438/0.001438, allocations: 81.55 kB / 19.76 MB, free: 2.031 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.379/1.379, allocations: 177.2 MB / 200.1 MB, free: 8.344 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.001573/0.001573, allocations: 174.2 kB / 256.6 MB, free: 4.273 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.03899/0.03899, allocations: 6.666 MB / 319.7 MB, free: 5.355 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_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") [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.00262/0.00262, allocations: 87.86 kB / 446.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1069, allocations: 55.58 MB / 0.4903 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01825/0.1251, allocations: 14.44 MB / 0.5044 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2136/0.3387, allocations: 5.277 MB / 0.5096 GB, free: 40.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.3416, allocations: 121.2 kB / 0.5097 GB, free: 40.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.3455, allocations: 1.208 MB / 0.5109 GB, free: 40.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.3511, allocations: 1.545 MB / 0.5124 GB, free: 40.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.3541, allocations: 1.015 MB / 0.5134 GB, free: 40.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005987/0.3601, allocations: 4.642 MB / 0.5179 GB, free: 40.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/0.3628, allocations: 1.906 MB / 0.5197 GB, free: 39.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.366, allocations: 2.115 MB / 0.5218 GB, free: 38.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.3698, allocations: 2.318 MB / 0.5241 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008998/0.3707, allocations: 0.5551 MB / 0.5246 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.3725, allocations: 0.7712 MB / 0.5254 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008649/0.3734, allocations: 1.243 MB / 0.5266 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.3756, allocations: 1.898 MB / 0.5284 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006148/0.3817, allocations: 7.398 MB / 0.5357 GB, free: 32.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3817, allocations: 3.938 kB / 0.5357 GB, free: 32.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3817, allocations: 0 / 0.5357 GB, free: 32.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.3819, allocations: 0 / 0.5357 GB, free: 32.75 MB / 430.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.01153/0.3934, allocations: 4.879 MB / 0.5404 GB, free: 30.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.3935, allocations: 13.39 kB / 0.5404 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.3984, allocations: 0.9441 MB / 0.5414 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.4031, allocations: 2.683 MB / 0.544 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.4033, allocations: 280.1 kB / 0.5443 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/0.4038, allocations: 364.5 kB / 0.5446 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007128/0.4109, allocations: 4.83 MB / 0.5493 GB, free: 26.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.041e-05/0.411, allocations: 14.98 kB / 0.5493 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.4113, allocations: 147.4 kB / 0.5495 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.4114, allocations: 153.5 kB / 0.5496 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00612/0.4176, allocations: 3.891 MB / 0.5534 GB, free: 24.37 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/0.4401, allocations: 13.07 MB / 0.5662 GB, free: 16.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.4445, allocations: 2.417 MB / 0.5686 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.4466, allocations: 1.191 MB / 0.5697 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006695/0.4532, allocations: 3.157 MB / 0.5728 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4533, allocations: 45.28 kB / 0.5728 GB, free: 13.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 3.306e-06/0.4533, allocations: 0 / 0.5728 GB, free: 13.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01134/0.4646, allocations: 5.156 MB / 0.5779 GB, free: 10.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.4647, allocations: 71.34 kB / 0.5779 GB, free: 10.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.4677, allocations: 1.939 MB / 0.5798 GB, free: 9.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.4678, allocations: 55.17 kB / 0.5799 GB, free: 9.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009555/0.4688, allocations: 1.802 MB / 0.5817 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.4692, allocations: 0.5278 MB / 0.5822 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005841/0.4698, allocations: 415.1 kB / 0.5826 GB, free: 7.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.4698, allocations: 309.1 kB / 0.5829 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.4709, allocations: 0.7633 MB / 0.5836 GB, free: 6.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.4725, allocations: 1.565 MB / 0.5851 GB, free: 4.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/0.4862, allocations: 4.775 MB / 0.5898 GB, free: 1.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/0.4862, allocations: 9.688 kB / 0.5898 GB, free: 1.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004353/0.4906, allocations: 2.777 MB / 0.5925 GB, free: 280 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.4906, allocations: 19.94 kB / 0.5925 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.4906, allocations: 27.94 kB / 0.5926 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/0.4913, allocations: 277.8 kB / 0.5928 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.4932, allocations: 495.2 kB / 0.5933 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/0.4977, allocations: 3.212 MB / 0.5964 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.4998, allocations: 95.88 kB / 0.5965 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.5, allocations: 104 kB / 0.5966 GB, free: 11.97 MB / 446.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.002485/0.5025, allocations: 1.089 MB / 0.5977 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.503, allocations: 218.6 kB / 0.5979 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.5064, allocations: 1.749 MB / 0.5996 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.5064, allocations: 12 kB / 0.5996 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.5064, allocations: 8 kB / 0.5996 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.5065, allocations: 3.984 kB / 0.5996 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00877/0.5152, allocations: 4.137 MB / 0.6037 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.5152, allocations: 4 kB / 0.6037 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.5164, allocations: 255.7 kB / 0.6039 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006866/0.5171, allocations: 227.3 kB / 0.6041 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.5172, allocations: 35.98 kB / 0.6042 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/0.5214, allocations: 3.076 MB / 0.6072 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5214, allocations: 4.062 kB / 0.6072 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.5262, allocations: 2.65 MB / 0.6098 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.5274, allocations: 358.5 kB / 0.6101 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.5276, allocations: 40 kB / 0.6101 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00096/0.5286, allocations: 47.97 kB / 0.6102 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.5288, allocations: 105.9 kB / 0.6103 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/0.5289, allocations: 47.98 kB / 0.6103 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002103/0.531, allocations: 1.254 MB / 0.6116 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.531, allocations: 4 kB / 0.6116 GB, free: 12.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002577/0.5336, allocations: 0.6288 MB / 0.6122 GB, free: 11.8 MB / 462.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.0003787/0.534, allocations: 165.7 kB / 0.6123 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.5379, allocations: 1.983 MB / 0.6143 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5379, allocations: 4 kB / 0.6143 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.5395, allocations: 0.8829 MB / 0.6151 GB, free: 8.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.5421, allocations: 496.2 kB / 0.6156 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.5542, allocations: 6.051 MB / 0.6215 GB, free: 2.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002589/0.5568, allocations: 1.88 MB / 0.6234 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001813/0.5586, allocations: 481.9 kB / 0.6238 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.5591, allocations: 144.5 kB / 0.624 GB, free: 15.62 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5591, allocations: 4 kB / 0.624 GB, free: 15.61 MB / 478.1 MB Notification: Performance of Templates: time 0.05686/0.6159, allocations: 27.69 MB / 0.651 GB, free: 4.348 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.820318691898137] Failed to read output from testmodel.py, exit status != 0: 0.6252856740029529 0.6399567220000001 0.254850817 Calling exit ...