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.001379/0.001379, 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.531/1.531, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001666/0.001666, allocations: 220.1 kB / 309.2 MB, free: 3.121 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.04328/0.04328, allocations: 8.923 MB / 374.6 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_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.004582/0.004582, allocations: 79.88 kB / 0.4897 GB, free: 44.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1049, allocations: 55.61 MB / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.02063/0.1255, allocations: 14.43 MB / 0.5581 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.1388, allocations: 5.298 MB / 0.5633 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.1423, allocations: 119.3 kB / 0.5634 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2411/0.3835, allocations: 1.2 MB / 0.5645 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.3888, allocations: 1.54 MB / 0.566 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.3917, allocations: 1.02 MB / 0.567 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006269/0.398, allocations: 4.645 MB / 0.5716 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.4016, allocations: 1.908 MB / 0.5734 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003798/0.4054, allocations: 2.122 MB / 0.5755 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.4103, allocations: 2.308 MB / 0.5778 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0015/0.4118, allocations: 0.5578 MB / 0.5783 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.4143, allocations: 0.7661 MB / 0.5791 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.4154, allocations: 1.25 MB / 0.5803 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.4185, allocations: 1.896 MB / 0.5821 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008408/0.4269, allocations: 7.393 MB / 0.5893 GB, free: 3.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4269, allocations: 5.172 kB / 0.5894 GB, free: 3.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4269, allocations: 0.625 kB / 0.5894 GB, free: 3.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002212/0.4271, allocations: 0.5 kB / 0.5894 GB, free: 3.832 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.01438/0.4415, allocations: 4.882 MB / 0.5941 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4415, allocations: 13.17 kB / 0.5941 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/0.4469, allocations: 0.947 MB / 0.5951 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007648/0.4546, allocations: 2.68 MB / 0.5977 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.4549, allocations: 273.8 kB / 0.5979 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.4561, allocations: 371.2 kB / 0.5983 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.4681, allocations: 4.838 MB / 0.603 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.4682, allocations: 10.48 kB / 0.603 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/0.4687, allocations: 153.8 kB / 0.6032 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.4688, allocations: 157.2 kB / 0.6033 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008299/0.4771, allocations: 3.9 MB / 0.6071 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.508, allocations: 13.24 MB / 0.6201 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005466/0.5135, allocations: 2.506 MB / 0.6225 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.5163, allocations: 1.369 MB / 0.6238 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008671/0.525, allocations: 3.298 MB / 0.6271 GB, free: 5.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.525, allocations: 51.56 kB / 0.6271 GB, free: 5.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=125): time 3.667e-06/0.525, allocations: 0 / 0.6271 GB, free: 5.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01602/0.5411, allocations: 5.938 MB / 0.6329 GB, free: 15.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.5411, allocations: 68.66 kB / 0.633 GB, free: 15.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.5451, allocations: 1.858 MB / 0.6348 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.5454, allocations: 53.7 kB / 0.6348 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.5469, allocations: 1.773 MB / 0.6366 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007062/0.5476, allocations: 0.5663 MB / 0.6371 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008375/0.5485, allocations: 408.1 kB / 0.6375 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5486, allocations: 301.1 kB / 0.6378 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.5502, allocations: 0.7774 MB / 0.6386 GB, free: 9.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.5526, allocations: 1.573 MB / 0.6401 GB, free: 7.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.5688, allocations: 4.841 MB / 0.6448 GB, free: 2.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/0.5689, allocations: 8 kB / 0.6448 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006399/0.5753, allocations: 2.858 MB / 0.6476 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.5753, allocations: 16 kB / 0.6476 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/0.5754, allocations: 24 kB / 0.6477 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.5764, allocations: 365 kB / 0.648 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.5782, allocations: 487.2 kB / 0.6485 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.5839, allocations: 3.891 MB / 0.6523 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5858, allocations: 91.86 kB / 0.6524 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.586, allocations: 100 kB / 0.6525 GB, free: 10.21 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.002352/0.5884, allocations: 1.106 MB / 0.6535 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/0.5889, allocations: 214.6 kB / 0.6537 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.5928, allocations: 1.949 MB / 0.6557 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5928, allocations: 16 kB / 0.6557 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5928, allocations: 4 kB / 0.6557 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.5929, allocations: 11.91 kB / 0.6557 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009516/0.6024, allocations: 4.563 MB / 0.6601 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.6024, allocations: 4 kB / 0.6601 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.6036, allocations: 263.7 kB / 0.6604 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008377/0.6044, allocations: 289.2 kB / 0.6607 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.6045, allocations: 39.98 kB / 0.6607 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.6099, allocations: 3.643 MB / 0.6643 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6099, allocations: 3.938 kB / 0.6643 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.6151, allocations: 2.906 MB / 0.6671 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.6163, allocations: 378.5 kB / 0.6675 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.6165, allocations: 39.94 kB / 0.6675 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009919/0.6175, allocations: 59.97 kB / 0.6676 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.6178, allocations: 113.2 kB / 0.6677 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.6179, allocations: 51.98 kB / 0.6677 GB, free: 10.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002006/0.6199, allocations: 1.206 MB / 0.6689 GB, free: 9.117 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6199, allocations: 0 / 0.6689 GB, free: 9.117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002316/0.6222, allocations: 0.6328 MB / 0.6695 GB, free: 8.484 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.0003526/0.6226, allocations: 175.9 kB / 0.6697 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.6266, allocations: 2.115 MB / 0.6717 GB, free: 6.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6266, allocations: 0 / 0.6717 GB, free: 6.184 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.6285, allocations: 1.022 MB / 0.6727 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.6311, allocations: 492.3 kB / 0.6732 GB, free: 4.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.6433, allocations: 6.208 MB / 0.6793 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.6458, allocations: 1.9 MB / 0.6811 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001736/0.6476, allocations: 474 kB / 0.6816 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.648, allocations: 151.4 kB / 0.6817 GB, free: 11.86 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.648, allocations: 0 / 0.6817 GB, free: 11.86 MB / 478.1 MB Notification: Performance of Templates: time 0.06394/0.712, allocations: 33.06 MB / 0.714 GB, free: 11.21 MB / 0.4981 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: 6.329054597765207] Failed to read output from testmodel.py, exit status != 0: 0.722896046936512 0.7379158769999999 0.307218812 Calling exit ...