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.001987/0.001987, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.543/1.543, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001777/0.001777, allocations: 216 kB / 309.2 MB, free: 3.145 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.04307/0.04307, allocations: 8.911 MB / 374.6 MB, free: 1.91 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.002802/0.002802, allocations: 83.88 kB / 0.4897 GB, free: 6.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2619, allocations: 55.61 MB / 0.5441 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01303/0.2749, allocations: 16.69 MB / 0.5604 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008074/0.283, allocations: 5.599 MB / 0.5658 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2849, allocations: 118.1 kB / 0.5659 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.2876, allocations: 1.274 MB / 0.5672 GB, free: 10.36 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.003681/0.2913, allocations: 1.566 MB / 0.5687 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.2934, allocations: 1.066 MB / 0.5697 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005087/0.2984, allocations: 4.64 MB / 0.5743 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.3011, allocations: 1.987 MB / 0.5762 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.3041, allocations: 2.12 MB / 0.5783 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.3079, allocations: 2.48 MB / 0.5807 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009832/0.3089, allocations: 0.5628 MB / 0.5813 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.3108, allocations: 0.7959 MB / 0.582 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009558/0.3118, allocations: 1.248 MB / 0.5833 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.3142, allocations: 2.38 MB / 0.5856 GB, free: 232 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3242, allocations: 7.378 MB / 0.5928 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3242, allocations: 0 / 0.5928 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3242, allocations: 3.938 kB / 0.5928 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000227/0.3245, allocations: 1.375 kB / 0.5928 GB, free: 10.64 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.01749/0.342, allocations: 4.887 MB / 0.5976 GB, free: 6.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.342, allocations: 8.031 kB / 0.5976 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006031/0.348, allocations: 0.9468 MB / 0.5985 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007663/0.3557, allocations: 2.694 MB / 0.6011 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.356, allocations: 275.8 kB / 0.6014 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.3573, allocations: 380 kB / 0.6018 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.3697, allocations: 4.67 MB / 0.6063 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.3698, allocations: 7.938 kB / 0.6063 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007711/0.3706, allocations: 152 kB / 0.6065 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.3707, allocations: 151.3 kB / 0.6066 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00884/0.3796, allocations: 3.898 MB / 0.6104 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02952/0.4091, allocations: 14.96 MB / 0.625 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.4142, allocations: 2.429 MB / 0.6274 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.4167, allocations: 1.195 MB / 0.6286 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008207/0.4249, allocations: 3.538 MB / 0.632 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.4249, allocations: 47.56 kB / 0.6321 GB, free: 2.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=118): time 2.655e-06/0.4249, allocations: 0 / 0.6321 GB, free: 2.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=144): time 0.01275/0.4377, allocations: 5.169 MB / 0.6371 GB, free: 13.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.4377, allocations: 72.66 kB / 0.6372 GB, free: 12.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/0.4419, allocations: 2.166 MB / 0.6393 GB, free: 10.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.442, allocations: 49.7 kB / 0.6393 GB, free: 10.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.4437, allocations: 1.805 MB / 0.6411 GB, free: 8.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.4443, allocations: 0.5191 MB / 0.6416 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008183/0.4451, allocations: 412 kB / 0.642 GB, free: 7.945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4452, allocations: 309.1 kB / 0.6423 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.4468, allocations: 0.7696 MB / 0.6431 GB, free: 6.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.449, allocations: 1.538 MB / 0.6446 GB, free: 4.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/0.4653, allocations: 4.783 MB / 0.6492 GB, free: 15.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.4653, allocations: 4 kB / 0.6492 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005792/0.4711, allocations: 2.802 MB / 0.652 GB, free: 13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.4711, allocations: 16 kB / 0.652 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/0.4712, allocations: 24 kB / 0.652 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008501/0.472, allocations: 280.2 kB / 0.6523 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.474, allocations: 499.2 kB / 0.6527 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.4788, allocations: 3.291 MB / 0.656 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.481, allocations: 103.9 kB / 0.6561 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.4813, allocations: 104 kB / 0.6562 GB, free: 8.605 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[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.00239/0.4837, allocations: 1.083 MB / 0.6572 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/0.4843, allocations: 242.4 kB / 0.6574 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.4881, allocations: 1.755 MB / 0.6592 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4881, allocations: 16 kB / 0.6592 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4881, allocations: 8 kB / 0.6592 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.4882, allocations: 7.969 kB / 0.6592 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.499, allocations: 4.967 MB / 0.664 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4991, allocations: 0 / 0.664 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.5004, allocations: 263.9 kB / 0.6643 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/0.5011, allocations: 219.9 kB / 0.6645 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.5012, allocations: 35.98 kB / 0.6645 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/0.5058, allocations: 3.144 MB / 0.6676 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5058, allocations: 4.031 kB / 0.6676 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.5109, allocations: 2.676 MB / 0.6702 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.5124, allocations: 398.3 kB / 0.6706 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/0.5131, allocations: 28 kB / 0.6706 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.5147, allocations: 63.89 kB / 0.6707 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.515, allocations: 101.1 kB / 0.6708 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.5151, allocations: 39.98 kB / 0.6708 GB, free: 9.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003226/0.5184, allocations: 1.455 MB / 0.6722 GB, free: 7.816 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5184, allocations: 0 / 0.6722 GB, free: 7.816 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003142/0.5215, allocations: 0.6405 MB / 0.6729 GB, free: 7.176 MB / 478.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.0004497/0.5219, allocations: 151 kB / 0.673 GB, free: 7.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00413/0.5261, allocations: 1.995 MB / 0.675 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5261, allocations: 128 / 0.675 GB, free: 5.012 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.5278, allocations: 0.8943 MB / 0.6758 GB, free: 4.105 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.5314, allocations: 0.5964 MB / 0.6764 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5452, allocations: 6.084 MB / 0.6824 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/0.5487, allocations: 2.427 MB / 0.6847 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002022/0.5508, allocations: 0.5037 MB / 0.6852 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.5513, allocations: 155.4 kB / 0.6854 GB, free: 10.26 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5513, allocations: 0 / 0.6854 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Templates: time 0.2713/0.8227, allocations: 31.19 MB / 0.7158 GB, free: 115.7 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.518752870848402] Failed to read output from testmodel.py, exit status != 0: 0.8332697090227157 0.846471308 0.519681787 Calling exit ...