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.001386/0.001386, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.495/1.495, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001791/0.001791, allocations: 210.4 kB / 310 MB, free: 3.031 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.04977/0.04977, allocations: 8.915 MB / 375.3 MB, free: 6.605 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.002515/0.002515, allocations: 91.86 kB / 0.4904 GB, free: 44.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08915, allocations: 55.61 MB / 0.5447 GB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01912/0.1083, allocations: 14.43 MB / 0.5588 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.1198, allocations: 5.294 MB / 0.564 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.1228, allocations: 119.3 kB / 0.5641 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.209/0.3319, allocations: 1.207 MB / 0.5653 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.3366, allocations: 1.536 MB / 0.5668 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.3393, allocations: 1.017 MB / 0.5678 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006009/0.3453, allocations: 4.634 MB / 0.5723 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.3487, allocations: 1.905 MB / 0.5742 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003945/0.3526, allocations: 2.124 MB / 0.5762 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004863/0.3575, allocations: 2.313 MB / 0.5785 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.3594, allocations: 0.557 MB / 0.579 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.3624, allocations: 0.7747 MB / 0.5798 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.3642, allocations: 1.244 MB / 0.581 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005914/0.3701, allocations: 1.897 MB / 0.5829 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009863/0.38, allocations: 7.397 MB / 0.5901 GB, free: 3.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.38, allocations: 1.281 kB / 0.5901 GB, free: 3.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.38, allocations: 0 / 0.5901 GB, free: 3.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002016/0.3802, allocations: 4 kB / 0.5901 GB, free: 3.816 MB / 382.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.01396/0.3942, allocations: 4.879 MB / 0.5949 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3942, allocations: 13.23 kB / 0.5949 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/0.3996, allocations: 0.9432 MB / 0.5958 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007448/0.407, allocations: 2.681 MB / 0.5984 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.4073, allocations: 280.3 kB / 0.5987 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.4083, allocations: 368.9 kB / 0.599 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.419, allocations: 4.84 MB / 0.6037 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-05/0.4191, allocations: 6.297 kB / 0.6038 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.4196, allocations: 150.4 kB / 0.6039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.4197, allocations: 156.2 kB / 0.604 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007546/0.4273, allocations: 3.895 MB / 0.6079 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02703/0.4543, allocations: 13.24 MB / 0.6208 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/0.4595, allocations: 2.522 MB / 0.6232 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/0.4623, allocations: 1.35 MB / 0.6246 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008137/0.4704, allocations: 3.311 MB / 0.6278 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.4705, allocations: 48.59 kB / 0.6278 GB, free: 5.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=125): time 3.927e-06/0.4705, allocations: 3.938 kB / 0.6278 GB, free: 5.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01441/0.4849, allocations: 5.934 MB / 0.6336 GB, free: 15.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.4849, allocations: 68.72 kB / 0.6337 GB, free: 15.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.488, allocations: 1.858 MB / 0.6355 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.4882, allocations: 53.7 kB / 0.6356 GB, free: 13.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.4896, allocations: 1.771 MB / 0.6373 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006248/0.4903, allocations: 0.5636 MB / 0.6379 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000667/0.4909, allocations: 408.1 kB / 0.6382 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4911, allocations: 301.1 kB / 0.6385 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.4924, allocations: 0.7812 MB / 0.6393 GB, free: 9.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.4945, allocations: 1.571 MB / 0.6408 GB, free: 7.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/0.5103, allocations: 4.85 MB / 0.6456 GB, free: 2.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/0.5103, allocations: 8 kB / 0.6456 GB, free: 2.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005779/0.5161, allocations: 2.857 MB / 0.6484 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.5161, allocations: 16 kB / 0.6484 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/0.5162, allocations: 24 kB / 0.6484 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009955/0.5172, allocations: 365.4 kB / 0.6487 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.519, allocations: 487.2 kB / 0.6492 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.5246, allocations: 3.89 MB / 0.653 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.5266, allocations: 87.88 kB / 0.6531 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.5268, allocations: 112 kB / 0.6532 GB, free: 10.2 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[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.002268/0.5291, allocations: 1.096 MB / 0.6543 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/0.5296, allocations: 214.6 kB / 0.6545 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.5334, allocations: 1.953 MB / 0.6564 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.5334, allocations: 15.98 kB / 0.6564 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.5334, allocations: 4 kB / 0.6564 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.5334, allocations: 7.984 kB / 0.6564 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/0.5426, allocations: 4.557 MB / 0.6609 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5426, allocations: 0 / 0.6609 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.5437, allocations: 271.9 kB / 0.6611 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008142/0.5446, allocations: 293.1 kB / 0.6614 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5447, allocations: 43.98 kB / 0.6614 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.55, allocations: 3.634 MB / 0.665 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.55, allocations: 8 kB / 0.665 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005127/0.5551, allocations: 2.918 MB / 0.6678 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.5564, allocations: 378.5 kB / 0.6682 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000335/0.5567, allocations: 32 kB / 0.6682 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.5577, allocations: 51.97 kB / 0.6683 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.5579, allocations: 121 kB / 0.6684 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/0.558, allocations: 43.98 kB / 0.6684 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002059/0.5601, allocations: 1.21 MB / 0.6696 GB, free: 9.109 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5601, allocations: 0 / 0.6696 GB, free: 9.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002423/0.5625, allocations: 0.6367 MB / 0.6703 GB, free: 8.473 MB / 462.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.0003634/0.5629, allocations: 170.4 kB / 0.6704 GB, free: 8.301 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004014/0.5669, allocations: 2.112 MB / 0.6725 GB, free: 6.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5669, allocations: 0.875 kB / 0.6725 GB, free: 6.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.5687, allocations: 1.021 MB / 0.6735 GB, free: 5.148 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.5712, allocations: 497.1 kB / 0.6739 GB, free: 4.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.583, allocations: 6.191 MB / 0.68 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/0.5852, allocations: 1.836 MB / 0.6818 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/0.5859, allocations: 163.4 kB / 0.6819 GB, free: 12.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5859, allocations: 0 / 0.6819 GB, free: 12.38 MB / 478.1 MB Notification: Performance of Templates: time 0.09421/0.6801, allocations: 69.42 MB / 0.7497 GB, free: 7.066 MB / 0.5294 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.828173615969718] Failed to read output from testmodel.py, exit status != 0: 0.6885622842237353 0.704301163 0.320879566 Calling exit ...