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.001465/0.001465, 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.54/1.54, allocations: 230.6 MB / 253.4 MB, free: 14.47 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.001674/0.001674, allocations: 218.8 kB / 310 MB, free: 3.043 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.04913/0.04913, allocations: 8.917 MB / 375.3 MB, free: 6.582 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.002525/0.002525, allocations: 88.25 kB / 0.4904 GB, free: 44.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09595, allocations: 55.62 MB / 0.5447 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01987/0.1158, allocations: 14.42 MB / 0.5588 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1286, allocations: 5.298 MB / 0.564 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.1325, allocations: 119.3 kB / 0.5641 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2732/0.4057, allocations: 1.203 MB / 0.5653 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.4114, allocations: 1.545 MB / 0.5668 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.4144, allocations: 1.013 MB / 0.5678 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006544/0.4209, allocations: 4.634 MB / 0.5723 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.4242, allocations: 1.908 MB / 0.5742 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/0.4284, allocations: 2.125 MB / 0.5762 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005717/0.4342, allocations: 2.31 MB / 0.5785 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001939/0.4361, allocations: 0.558 MB / 0.579 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.4394, allocations: 0.7754 MB / 0.5798 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.4409, allocations: 1.24 MB / 0.581 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004161/0.4451, allocations: 1.892 MB / 0.5829 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.4543, allocations: 7.402 MB / 0.5901 GB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4543, allocations: 0 / 0.5901 GB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4543, allocations: 0.5 kB / 0.5901 GB, free: 3.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.4545, allocations: 2.156 kB / 0.5901 GB, free: 3.777 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.01363/0.4681, allocations: 4.88 MB / 0.5949 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4682, allocations: 17.77 kB / 0.5949 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.4733, allocations: 0.9385 MB / 0.5958 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007241/0.4805, allocations: 2.681 MB / 0.5984 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.4808, allocations: 280.4 kB / 0.5987 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.4818, allocations: 364.7 kB / 0.599 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.4919, allocations: 4.832 MB / 0.6037 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-05/0.492, allocations: 9.312 kB / 0.6037 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.4924, allocations: 148.1 kB / 0.6039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.4926, allocations: 155 kB / 0.604 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007635/0.5002, allocations: 3.89 MB / 0.6078 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02594/0.5262, allocations: 13.08 MB / 0.6206 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.5309, allocations: 2.419 MB / 0.623 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.5331, allocations: 1.183 MB / 0.6241 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007472/0.5406, allocations: 3.144 MB / 0.6272 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/0.5407, allocations: 51.5 kB / 0.6272 GB, free: 5.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=118): time 3.396e-06/0.5407, allocations: 0 / 0.6272 GB, free: 5.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01233/0.553, allocations: 5.163 MB / 0.6323 GB, free: 480 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.5531, allocations: 68.72 kB / 0.6323 GB, free: 400 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.5563, allocations: 1.938 MB / 0.6342 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.5565, allocations: 53.7 kB / 0.6343 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.5581, allocations: 1.799 MB / 0.636 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005572/0.5587, allocations: 0.5338 MB / 0.6366 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006598/0.5594, allocations: 416 kB / 0.637 GB, free: 11.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5595, allocations: 305.1 kB / 0.6373 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.5609, allocations: 0.7657 MB / 0.638 GB, free: 10.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.5629, allocations: 1.563 MB / 0.6395 GB, free: 8.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/0.5783, allocations: 4.787 MB / 0.6442 GB, free: 3.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-05/0.5783, allocations: 8 kB / 0.6442 GB, free: 3.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005615/0.5839, allocations: 2.779 MB / 0.6469 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.584, allocations: 20.88 kB / 0.6469 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/0.584, allocations: 24 kB / 0.647 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.5848, allocations: 273.6 kB / 0.6472 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.5867, allocations: 495.2 kB / 0.6477 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/0.5912, allocations: 3.201 MB / 0.6508 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.5934, allocations: 99.94 kB / 0.6509 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.5937, allocations: 108 kB / 0.651 GB, free: 12.38 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.002337/0.596, allocations: 1.086 MB / 0.6521 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/0.5966, allocations: 214.6 kB / 0.6523 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.6, allocations: 1.752 MB / 0.654 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6001, allocations: 12 kB / 0.654 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6001, allocations: 4 kB / 0.654 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.6001, allocations: 11.97 kB / 0.654 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008372/0.6084, allocations: 4.137 MB / 0.6581 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.6085, allocations: 7.984 kB / 0.6581 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.6096, allocations: 251.7 kB / 0.6583 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/0.6103, allocations: 220.9 kB / 0.6585 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.6104, allocations: 31.98 kB / 0.6586 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.6145, allocations: 3.081 MB / 0.6616 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.6145, allocations: 4.031 kB / 0.6616 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004908/0.6194, allocations: 2.642 MB / 0.6642 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.6209, allocations: 369.6 kB / 0.6645 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/0.6213, allocations: 31.94 kB / 0.6645 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6223, allocations: 63.95 kB / 0.6646 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.6226, allocations: 101.1 kB / 0.6647 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/0.6226, allocations: 39.98 kB / 0.6647 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002229/0.6249, allocations: 1.26 MB / 0.666 GB, free: 12.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6249, allocations: 0 / 0.666 GB, free: 12.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002648/0.6275, allocations: 0.6328 MB / 0.6666 GB, free: 12.21 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.0004142/0.6279, allocations: 167 kB / 0.6667 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003848/0.6318, allocations: 1.987 MB / 0.6687 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.6318, allocations: 8.125 kB / 0.6687 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.6334, allocations: 0.8827 MB / 0.6695 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.636, allocations: 494.5 kB / 0.67 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.6484, allocations: 6.027 MB / 0.6759 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.6508, allocations: 1.828 MB / 0.6777 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/0.6516, allocations: 163.4 kB / 0.6778 GB, free: 0.543 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6516, allocations: 0 / 0.6778 GB, free: 0.543 MB / 462.1 MB Notification: Performance of Templates: time 0.1032/0.7548, allocations: 69.12 MB / 0.7454 GB, free: 11.52 MB / 0.5294 GB " [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: 12.76262390986085] Failed to read output from testmodel.py, exit status != 0: 0.7640997897833586 0.7809817870000001 0.323054324 Calling exit ...