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.001569/0.001569, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.457/1.457, allocations: 230.6 MB / 253.4 MB, free: 14.6 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.001641/0.001641, allocations: 222.1 kB / 310 MB, free: 3.02 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.03952/0.03952, allocations: 8.924 MB / 375.3 MB, free: 6.773 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.002712/0.002712, allocations: 83.81 kB / 0.4905 GB, free: 44.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1066, allocations: 55.61 MB / 0.5448 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.0211/0.1277, allocations: 16.69 MB / 0.5611 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.282/0.4097, allocations: 5.599 MB / 0.5666 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.4137, allocations: 120.7 kB / 0.5667 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004321/0.418, allocations: 1.272 MB / 0.5679 GB, free: 10.05 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006414/0.4244, allocations: 1.566 MB / 0.5694 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.4276, allocations: 1.06 MB / 0.5705 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007684/0.4352, allocations: 4.638 MB / 0.575 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00355/0.4388, allocations: 1.996 MB / 0.577 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.4432, allocations: 2.112 MB / 0.579 GB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.4488, allocations: 2.484 MB / 0.5815 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001837/0.4507, allocations: 0.56 MB / 0.582 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.4541, allocations: 0.8033 MB / 0.5828 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.4558, allocations: 1.245 MB / 0.584 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005964/0.4617, allocations: 2.386 MB / 0.5863 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.4733, allocations: 7.374 MB / 0.5935 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.4733, allocations: 0 / 0.5935 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4733, allocations: 0 / 0.5935 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002579/0.4735, allocations: 0 / 0.5935 GB, free: 0.7422 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.01799/0.4915, allocations: 4.893 MB / 0.5983 GB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4916, allocations: 12.67 kB / 0.5983 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00594/0.4975, allocations: 0.9494 MB / 0.5992 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008267/0.5058, allocations: 2.699 MB / 0.6019 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004892/0.5063, allocations: 276.7 kB / 0.6021 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.5076, allocations: 368.8 kB / 0.6025 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.5182, allocations: 4.687 MB / 0.6071 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.458e-05/0.5183, allocations: 1.875 kB / 0.6071 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/0.5187, allocations: 157.2 kB / 0.6072 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.5188, allocations: 151 kB / 0.6074 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007756/0.5266, allocations: 3.907 MB / 0.6112 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.5555, allocations: 15.1 MB / 0.6259 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005045/0.5606, allocations: 2.542 MB / 0.6284 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.5632, allocations: 1.361 MB / 0.6297 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008923/0.5721, allocations: 3.688 MB / 0.6333 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.735e-05/0.5722, allocations: 59.44 kB / 0.6334 GB, free: 14.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=125): time 4.117e-06/0.5722, allocations: 4 kB / 0.6334 GB, free: 14.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.0149/0.5871, allocations: 5.953 MB / 0.6392 GB, free: 8.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.5872, allocations: 68.72 kB / 0.6393 GB, free: 8.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.5909, allocations: 2.082 MB / 0.6413 GB, free: 6.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.5911, allocations: 57.69 kB / 0.6414 GB, free: 6.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.5927, allocations: 1.755 MB / 0.6431 GB, free: 4.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005823/0.5933, allocations: 0.5585 MB / 0.6436 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006438/0.5939, allocations: 412 kB / 0.644 GB, free: 3.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5941, allocations: 305.1 kB / 0.6443 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.5954, allocations: 0.7813 MB / 0.6451 GB, free: 2.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.5975, allocations: 1.543 MB / 0.6466 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/0.6128, allocations: 4.847 MB / 0.6513 GB, free: 11.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.292e-05/0.6128, allocations: 8 kB / 0.6513 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005622/0.6184, allocations: 2.88 MB / 0.6541 GB, free: 8.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.6185, allocations: 16 kB / 0.6542 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/0.6185, allocations: 24.66 kB / 0.6542 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.6195, allocations: 368.8 kB / 0.6545 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.6213, allocations: 495.1 kB / 0.655 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005739/0.627, allocations: 3.972 MB / 0.6589 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.6293, allocations: 87.89 kB / 0.659 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.6295, allocations: 99.98 kB / 0.6591 GB, free: 3.598 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.002765/0.6322, allocations: 1.102 MB / 0.6601 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006996/0.6329, allocations: 238.5 kB / 0.6604 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.6369, allocations: 1.977 MB / 0.6623 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6369, allocations: 16 kB / 0.6623 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.6369, allocations: 4 kB / 0.6623 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.637, allocations: 11.91 kB / 0.6623 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.6472, allocations: 5.423 MB / 0.6676 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6472, allocations: 4 kB / 0.6676 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.6484, allocations: 263.7 kB / 0.6679 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008309/0.6492, allocations: 288.8 kB / 0.6681 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.6493, allocations: 35.98 kB / 0.6682 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.6547, allocations: 3.748 MB / 0.6718 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.6547, allocations: 11.81 kB / 0.6719 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.6603, allocations: 2.926 MB / 0.6747 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.6619, allocations: 406.4 kB / 0.6751 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.6623, allocations: 43.94 kB / 0.6751 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6633, allocations: 55.91 kB / 0.6752 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.6635, allocations: 113 kB / 0.6753 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6636, allocations: 47.98 kB / 0.6753 GB, free: 2.641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002537/0.6662, allocations: 1.407 MB / 0.6767 GB, free: 1.215 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6662, allocations: 0 / 0.6767 GB, free: 1.215 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002736/0.6689, allocations: 0.6406 MB / 0.6773 GB, free: 0.5742 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.0004805/0.6694, allocations: 172.2 kB / 0.6775 GB, free: 412 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.6735, allocations: 2.126 MB / 0.6796 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6735, allocations: 0 / 0.6796 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.6754, allocations: 1.021 MB / 0.6806 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/0.6785, allocations: 0.5975 MB / 0.6812 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.6917, allocations: 6.21 MB / 0.6872 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/0.6944, allocations: 2.387 MB / 0.6896 GB, free: 3.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/0.6952, allocations: 171.4 kB / 0.6897 GB, free: 3.793 MB / 478.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6952, allocations: 4 kB / 0.6897 GB, free: 3.789 MB / 478.1 MB Notification: Performance of Templates: time 0.1022/0.7974, allocations: 70.03 MB / 0.7581 GB, free: 13.86 MB / 0.545 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: 13.80291963298805] Failed to read output from testmodel.py, exit status != 0: 0.8067652750760317 1.049382667 0.345464417 Calling exit ...