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.001895/0.001895, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.56/1.56, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001628/0.001628, allocations: 207.8 kB / 309.2 MB, free: 3.09 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.06525/0.06525, allocations: 8.928 MB / 374.6 MB, free: 6.574 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.002585/0.002585, allocations: 95.88 kB / 0.4897 GB, free: 44.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09718, allocations: 55.59 MB / 0.544 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.02033/0.1175, allocations: 14.43 MB / 0.5581 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.1322, allocations: 5.306 MB / 0.5633 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004616/0.1368, allocations: 119.3 kB / 0.5634 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2485/0.3853, allocations: 1.203 MB / 0.5645 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.3904, allocations: 1.548 MB / 0.5661 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.3929, allocations: 1.008 MB / 0.567 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005937/0.3988, allocations: 4.642 MB / 0.5716 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.4016, allocations: 1.905 MB / 0.5734 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.4052, allocations: 2.122 MB / 0.5755 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/0.4105, allocations: 2.306 MB / 0.5778 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002046/0.4125, allocations: 0.5573 MB / 0.5783 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.4158, allocations: 0.7768 MB / 0.5791 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.4175, allocations: 1.238 MB / 0.5803 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004662/0.4222, allocations: 1.899 MB / 0.5821 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4323, allocations: 7.4 MB / 0.5893 GB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4323, allocations: 6.312 kB / 0.5894 GB, free: 3.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4323, allocations: 0 / 0.5894 GB, free: 3.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002347/0.4325, allocations: 0 / 0.5894 GB, free: 3.801 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.01418/0.4467, allocations: 4.885 MB / 0.5941 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4468, allocations: 13.86 kB / 0.5941 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/0.452, allocations: 0.9391 MB / 0.5951 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007561/0.4596, allocations: 2.68 MB / 0.5977 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/0.4599, allocations: 275.9 kB / 0.5979 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.4612, allocations: 368 kB / 0.5983 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.4733, allocations: 4.828 MB / 0.603 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.653e-05/0.4734, allocations: 6.984 kB / 0.603 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/0.4738, allocations: 150.1 kB / 0.6032 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.474, allocations: 155.8 kB / 0.6033 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008898/0.4829, allocations: 3.901 MB / 0.6071 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.5113, allocations: 13.07 MB / 0.6199 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004964/0.5162, allocations: 2.41 MB / 0.6222 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.5185, allocations: 1.19 MB / 0.6234 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007373/0.5259, allocations: 3.151 MB / 0.6265 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.5259, allocations: 47.56 kB / 0.6265 GB, free: 5.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=118): time 3.917e-06/0.5259, allocations: 1.078 kB / 0.6265 GB, free: 5.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01187/0.5378, allocations: 5.142 MB / 0.6315 GB, free: 496 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.5378, allocations: 76.64 kB / 0.6316 GB, free: 408 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.5409, allocations: 1.938 MB / 0.6335 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.934e-05/0.541, allocations: 57.64 kB / 0.6336 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.5425, allocations: 1.8 MB / 0.6353 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004733/0.5429, allocations: 0.5229 MB / 0.6358 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006705/0.5436, allocations: 416 kB / 0.6362 GB, free: 11.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5437, allocations: 309 kB / 0.6365 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.5451, allocations: 0.7657 MB / 0.6373 GB, free: 10.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.5472, allocations: 1.568 MB / 0.6388 GB, free: 8.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/0.5623, allocations: 4.783 MB / 0.6435 GB, free: 3.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.5623, allocations: 8 kB / 0.6435 GB, free: 3.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005061/0.5674, allocations: 2.775 MB / 0.6462 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.5674, allocations: 19.94 kB / 0.6462 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.436e-05/0.5675, allocations: 24 kB / 0.6462 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008648/0.5684, allocations: 274.1 kB / 0.6465 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.5702, allocations: 0.4938 MB / 0.647 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.5747, allocations: 3.207 MB / 0.6501 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.5768, allocations: 95.88 kB / 0.6502 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.577, allocations: 100 kB / 0.6503 GB, free: 12.39 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.002152/0.5792, allocations: 1.089 MB / 0.6514 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.5796, allocations: 214.6 kB / 0.6516 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/0.583, allocations: 1.748 MB / 0.6533 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.583, allocations: 12 kB / 0.6533 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.583, allocations: 4 kB / 0.6533 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.583, allocations: 7.969 kB / 0.6533 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008111/0.5911, allocations: 4.136 MB / 0.6573 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5911, allocations: 7.938 kB / 0.6573 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.5923, allocations: 259.9 kB / 0.6576 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/0.593, allocations: 216.6 kB / 0.6578 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-05/0.5931, allocations: 39.98 kB / 0.6578 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.5974, allocations: 3.076 MB / 0.6608 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.5974, allocations: 6.797 kB / 0.6608 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/0.6023, allocations: 2.65 MB / 0.6634 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.6035, allocations: 362.5 kB / 0.6638 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.6037, allocations: 28 kB / 0.6638 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/0.6047, allocations: 55.97 kB / 0.6638 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.6049, allocations: 105 kB / 0.6639 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.605, allocations: 39.98 kB / 0.664 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0023/0.6073, allocations: 1.265 MB / 0.6652 GB, free: 12.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6073, allocations: 0 / 0.6652 GB, free: 12.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002542/0.6098, allocations: 0.6288 MB / 0.6658 GB, free: 12.22 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.0003581/0.6102, allocations: 177.1 kB / 0.666 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003637/0.6138, allocations: 1.981 MB / 0.6679 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6138, allocations: 0 / 0.6679 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.6154, allocations: 0.8926 MB / 0.6688 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.6181, allocations: 491.7 kB / 0.6693 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.6301, allocations: 6.053 MB / 0.6752 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.6325, allocations: 1.872 MB / 0.677 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001706/0.6342, allocations: 489.8 kB / 0.6775 GB, free: 168 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.6346, allocations: 151.4 kB / 0.6776 GB, free: 20 kB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6346, allocations: 0 / 0.6776 GB, free: 20 kB / 462.1 MB Notification: Performance of Templates: time 0.05993/0.6945, allocations: 31.9 MB / 0.7088 GB, free: 0.5352 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.149277064949274] Failed to read output from testmodel.py, exit status != 0: 0.7031721528619528 0.719017369 0.283255456 Calling exit ...