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.001882/0.001882, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.609/1.609, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 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.002179/0.002179, allocations: 164.5 kB / 256.3 MB, free: 13.17 MB / 250.7 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.04199/0.04199, allocations: 6.666 MB / 319.4 MB, free: 26.57 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 391 MB, free: 2.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.75e-05, allocations: 2.312 kB / 391 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.02261/0.02264, allocations: 16.12 MB / 407.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1442/0.1669, allocations: 5.47 MB / 412.6 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004747/0.1716, allocations: 121.3 kB / 412.7 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.1771, allocations: 1.219 MB / 413.9 MB, free: 69.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005776/0.1829, allocations: 1.601 MB / 415.5 MB, free: 68.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.1858, allocations: 1.026 MB / 416.6 MB, free: 68.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00593/0.1918, allocations: 4.863 MB / 421.4 MB, free: 66.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.1944, allocations: 1.915 MB / 423.3 MB, free: 65.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.1992, allocations: 3.146 MB / 426.5 MB, free: 64.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.2025, allocations: 2.124 MB / 428.6 MB, free: 63.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008122/0.2033, allocations: 0.5575 MB / 429.2 MB, free: 63.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.205, allocations: 0.7826 MB / 429.9 MB, free: 63.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008067/0.2058, allocations: 1.288 MB / 431.2 MB, free: 62.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.2076, allocations: 1.635 MB / 432.9 MB, free: 61.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.2138, allocations: 7.462 MB / 440.3 MB, free: 55.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2138, allocations: 4 kB / 440.3 MB, free: 55.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2138, allocations: 0 / 440.3 MB, free: 55.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001805/0.2139, allocations: 0 / 440.3 MB, free: 55.1 MB / 330.7 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.01146/0.2254, allocations: 5.546 MB / 445.9 MB, free: 49.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2254, allocations: 12.03 kB / 445.9 MB, free: 49.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/0.2305, allocations: 1.406 MB / 447.3 MB, free: 48.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.2359, allocations: 2.676 MB / 450 MB, free: 45.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.2361, allocations: 277 kB / 450.2 MB, free: 45.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007073/0.2368, allocations: 378.9 kB / 450.6 MB, free: 44.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007745/0.2446, allocations: 4.967 MB / 455.6 MB, free: 39.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.083e-05/0.2447, allocations: 11.94 kB / 455.6 MB, free: 39.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.2449, allocations: 153.7 kB / 455.7 MB, free: 39.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.2451, allocations: 151.3 kB / 455.9 MB, free: 39.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005524/0.2506, allocations: 3.515 MB / 459.4 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.2834, allocations: 24.11 MB / 483.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.2874, allocations: 2.414 MB / 485.9 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.2895, allocations: 1.298 MB / 487.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006447/0.2959, allocations: 3.56 MB / 490.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.296, allocations: 54.33 kB / 490.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 3.086e-06/0.296, allocations: 4 kB / 490.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01248/0.3085, allocations: 5.558 MB / 496.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3085, allocations: 72.66 kB / 496.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/0.3123, allocations: 2.404 MB / 498.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.3125, allocations: 53.7 kB / 498.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.3144, allocations: 1.98 MB / 0.4892 GB, free: 9.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/0.3153, allocations: 0.6205 MB / 0.4898 GB, free: 8.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008858/0.3162, allocations: 0.5215 MB / 0.4903 GB, free: 8.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.3164, allocations: 476.8 kB / 0.4907 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.3177, allocations: 0.6447 MB / 0.4914 GB, free: 6.988 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.3203, allocations: 1.869 MB / 0.4932 GB, free: 4.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/0.3367, allocations: 4.978 MB / 0.4981 GB, free: 15.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.979e-05/0.3368, allocations: 8 kB / 0.4981 GB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00567/0.3425, allocations: 2.73 MB / 0.5007 GB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.3425, allocations: 16 kB / 0.5007 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/0.3425, allocations: 27.94 kB / 0.5008 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.3438, allocations: 392 kB / 0.5011 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.3456, allocations: 483.3 kB / 0.5016 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.3521, allocations: 4.435 MB / 0.5059 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.3539, allocations: 87.92 kB / 0.506 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.3542, allocations: 108 kB / 0.5061 GB, free: 6.789 MB / 362.7 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.002099/0.3562, allocations: 1.02 MB / 0.5071 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/0.3568, allocations: 266.6 kB / 0.5074 GB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.3606, allocations: 1.76 MB / 0.5091 GB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.3606, allocations: 16 kB / 0.5091 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3606, allocations: 8 kB / 0.5091 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.3606, allocations: 7.969 kB / 0.5091 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.3721, allocations: 5.642 MB / 0.5146 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3721, allocations: 4 kB / 0.5146 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.3733, allocations: 267.7 kB / 0.5149 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3743, allocations: 314.7 kB / 0.5152 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.3744, allocations: 35.98 kB / 0.5152 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/0.3804, allocations: 4.196 MB / 0.5193 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.3804, allocations: 7.938 kB / 0.5193 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005201/0.3856, allocations: 2.748 MB / 0.522 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.3868, allocations: 362.5 kB / 0.5224 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.387, allocations: 39.94 kB / 0.5224 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/0.388, allocations: 55.97 kB / 0.5225 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.3883, allocations: 109.1 kB / 0.5226 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.3884, allocations: 47.98 kB / 0.5226 GB, free: 5.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002284/0.3907, allocations: 1.339 MB / 0.5239 GB, free: 4.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3907, allocations: 4 kB / 0.5239 GB, free: 4.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002666/0.3933, allocations: 0.6367 MB / 0.5245 GB, free: 3.625 MB / 378.7 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.0003988/0.3937, allocations: 172.5 kB / 0.5247 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004312/0.398, allocations: 2.19 MB / 0.5268 GB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.398, allocations: 0 / 0.5268 GB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.4001, allocations: 1.117 MB / 0.5279 GB, free: 96 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.4026, allocations: 0.4981 MB / 0.5284 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.4142, allocations: 5.937 MB / 0.5342 GB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/0.4165, allocations: 1.791 MB / 0.536 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001635/0.4181, allocations: 418 kB / 0.5364 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.4186, allocations: 152.5 kB / 0.5365 GB, free: 7.195 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4186, allocations: 0 / 0.5365 GB, free: 7.195 MB / 394.7 MB Notification: Performance of Templates: time 0.1685/0.587, allocations: 28.75 MB / 0.5646 GB, free: 113.7 MB / 394.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.159670747001655]