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.001458/0.001458, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.485/1.485, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001659/0.001659, allocations: 220.4 kB / 309.2 MB, free: 3.168 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.04428/0.04428, allocations: 8.916 MB / 374.6 MB, free: 1.914 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.002459/0.002459, allocations: 86.47 kB / 0.4897 GB, free: 4.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1072, allocations: 55.62 MB / 0.5441 GB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.02082/0.128, allocations: 16.7 MB / 0.5604 GB, free: 3.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.1398, allocations: 5.602 MB / 0.5658 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.1426, allocations: 119.3 kB / 0.5659 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003475/0.1461, allocations: 1.27 MB / 0.5672 GB, free: 12.73 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.005253/0.1513, allocations: 1.569 MB / 0.5687 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.1544, allocations: 1.05 MB / 0.5697 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007123/0.1615, allocations: 4.652 MB / 0.5743 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.1649, allocations: 1.991 MB / 0.5762 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.1683, allocations: 2.122 MB / 0.5783 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.1724, allocations: 2.483 MB / 0.5807 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009776/0.1734, allocations: 0.5624 MB / 0.5813 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.1752, allocations: 0.7965 MB / 0.5821 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.1764, allocations: 1.254 MB / 0.5833 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.1795, allocations: 2.381 MB / 0.5856 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009125/0.1886, allocations: 7.377 MB / 0.5928 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1886, allocations: 3.984 kB / 0.5928 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1886, allocations: 4 kB / 0.5928 GB, free: 2.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001863/0.1888, allocations: 0 / 0.5928 GB, free: 2.336 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.0134/0.2022, allocations: 4.882 MB / 0.5976 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2022, allocations: 8.031 kB / 0.5976 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/0.2074, allocations: 0.9468 MB / 0.5985 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006916/0.2143, allocations: 2.694 MB / 0.6011 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.2145, allocations: 279.8 kB / 0.6014 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007822/0.2153, allocations: 368.1 kB / 0.6018 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.2257, allocations: 4.688 MB / 0.6063 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.97e-05/0.2258, allocations: 11.89 kB / 0.6064 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.2262, allocations: 148 kB / 0.6065 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.2263, allocations: 155.3 kB / 0.6066 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008012/0.2344, allocations: 3.905 MB / 0.6105 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.2619, allocations: 15.1 MB / 0.6252 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/0.267, allocations: 2.54 MB / 0.6277 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.2697, allocations: 1.362 MB / 0.629 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007684/0.2774, allocations: 3.679 MB / 0.6326 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.2775, allocations: 47.56 kB / 0.6326 GB, free: 9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=125): time 3.357e-06/0.2775, allocations: 0 / 0.6326 GB, free: 9 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01374/0.2912, allocations: 5.958 MB / 0.6385 GB, free: 3.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.2913, allocations: 68.72 kB / 0.6385 GB, free: 2.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.2946, allocations: 2.09 MB / 0.6406 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.2948, allocations: 53.7 kB / 0.6406 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.2963, allocations: 1.755 MB / 0.6423 GB, free: 14.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.2968, allocations: 0.5656 MB / 0.6429 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006542/0.2974, allocations: 404 kB / 0.6433 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2976, allocations: 309.1 kB / 0.6436 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.299, allocations: 0.7774 MB / 0.6443 GB, free: 12.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.301, allocations: 1.548 MB / 0.6458 GB, free: 11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/0.317, allocations: 4.836 MB / 0.6506 GB, free: 5.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/0.317, allocations: 8 kB / 0.6506 GB, free: 5.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.005682/0.3227, allocations: 2.885 MB / 0.6534 GB, free: 2.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.3227, allocations: 16 kB / 0.6534 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/0.3228, allocations: 24 kB / 0.6534 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.3238, allocations: 364.8 kB / 0.6538 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3255, allocations: 487.2 kB / 0.6542 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2116/0.5371, allocations: 3.977 MB / 0.6581 GB, free: 95.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5391, allocations: 97.02 kB / 0.6582 GB, free: 95.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.5393, allocations: 101.4 kB / 0.6583 GB, free: 95.67 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[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.002036/0.5413, allocations: 1.098 MB / 0.6594 GB, free: 95.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.5418, allocations: 237.4 kB / 0.6596 GB, free: 95.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.5454, allocations: 1.967 MB / 0.6615 GB, free: 95.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.5454, allocations: 19.88 kB / 0.6615 GB, free: 95.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.5454, allocations: 3.844 kB / 0.6616 GB, free: 95.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-05/0.5454, allocations: 11.86 kB / 0.6616 GB, free: 95.06 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00913/0.5546, allocations: 5.424 MB / 0.6669 GB, free: 92.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5546, allocations: 6.531 kB / 0.6669 GB, free: 92.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.5557, allocations: 268.9 kB / 0.6671 GB, free: 92.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007676/0.5565, allocations: 285.5 kB / 0.6674 GB, free: 92.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/0.5566, allocations: 40.28 kB / 0.6674 GB, free: 92.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.5605, allocations: 3.741 MB / 0.6711 GB, free: 89.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5605, allocations: 7.719 kB / 0.6711 GB, free: 89.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/0.5647, allocations: 2.941 MB / 0.674 GB, free: 88.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.5657, allocations: 405.4 kB / 0.6744 GB, free: 88.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.5659, allocations: 33.78 kB / 0.6744 GB, free: 88.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.5669, allocations: 59.47 kB / 0.6744 GB, free: 88.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.5671, allocations: 112.1 kB / 0.6745 GB, free: 88.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.5672, allocations: 49.42 kB / 0.6746 GB, free: 88.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.569, allocations: 1.407 MB / 0.676 GB, free: 87.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.569, allocations: 0 / 0.676 GB, free: 87.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001962/0.571, allocations: 0.6434 MB / 0.6766 GB, free: 87.71 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.0002662/0.5712, allocations: 163.9 kB / 0.6768 GB, free: 87.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003567/0.5748, allocations: 2.123 MB / 0.6788 GB, free: 86.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.5748, allocations: 0.6875 kB / 0.6788 GB, free: 86.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.5765, allocations: 1.027 MB / 0.6798 GB, free: 86.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.5788, allocations: 0.5942 MB / 0.6804 GB, free: 86.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/0.5876, allocations: 6.248 MB / 0.6865 GB, free: 82.97 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.5893, allocations: 2.442 MB / 0.6889 GB, free: 81.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001509/0.5908, allocations: 0.4959 MB / 0.6894 GB, free: 80.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.5911, allocations: 151.4 kB / 0.6895 GB, free: 80.54 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5911, allocations: 0 / 0.6895 GB, free: 80.54 MB / 462.1 MB Notification: Performance of Templates: time 0.04872/0.6399, allocations: 32.35 MB / 0.7211 GB, free: 48.62 MB / 462.1 MB " [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.285970252007246] Failed to read output from testmodel.py, exit status != 0: 0.6475906339474022 0.657146072 0.46612211800000003 Calling exit ...