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.001555/0.001555, allocations: 88.72 kB / 19.44 MB, free: 356 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.583/1.583, 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.002034/0.002034, allocations: 164.6 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.04025/0.04025, allocations: 6.654 MB / 319.4 MB, free: 26.58 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_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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 391 MB, free: 2.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.323e-05/4.517e-05, allocations: 6.25 kB / 391 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.02501/0.02506, allocations: 14.46 MB / 405.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1587/0.1837, allocations: 5.303 MB / 410.8 MB, free: 68.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.1871, allocations: 120.1 kB / 410.9 MB, free: 68.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004999/0.1921, allocations: 1.224 MB / 412.1 MB, free: 68.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007655/0.1997, allocations: 1.588 MB / 413.7 MB, free: 68.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.2047, allocations: 1.019 MB / 414.7 MB, free: 68.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.2148, allocations: 4.865 MB / 419.6 MB, free: 67.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00561/0.2204, allocations: 1.915 MB / 421.5 MB, free: 66.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009517/0.2299, allocations: 3.113 MB / 424.6 MB, free: 65.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.235, allocations: 1.939 MB / 426.5 MB, free: 64.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.2371, allocations: 0.5581 MB / 427.1 MB, free: 64.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.2407, allocations: 0.7785 MB / 427.9 MB, free: 64.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.2427, allocations: 1.271 MB / 429.1 MB, free: 63.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004573/0.2473, allocations: 1.623 MB / 430.8 MB, free: 62.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.2576, allocations: 7.414 MB / 438.2 MB, free: 56.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.2577, allocations: 0 / 438.2 MB, free: 56.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2577, allocations: 0 / 438.2 MB, free: 56.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003041/0.258, allocations: 0 / 438.2 MB, free: 56.34 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.01571/0.2737, allocations: 4.843 MB / 443 MB, free: 51.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.2737, allocations: 10.66 kB / 443 MB, free: 51.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007182/0.2809, allocations: 1.408 MB / 444.4 MB, free: 50.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/0.2875, allocations: 2.806 MB / 447.3 MB, free: 47.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.2878, allocations: 281.7 kB / 447.5 MB, free: 47.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/0.2891, allocations: 368.3 kB / 447.9 MB, free: 46.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.3015, allocations: 4.826 MB / 452.7 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.3017, allocations: 4 kB / 452.7 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00109/0.3028, allocations: 155.9 kB / 452.9 MB, free: 41.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.303, allocations: 155.3 kB / 453 MB, free: 41.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.3117, allocations: 3.897 MB / 456.9 MB, free: 37.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.3394, allocations: 13.35 MB / 470.3 MB, free: 24.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004789/0.3442, allocations: 2.427 MB / 472.7 MB, free: 21.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/0.3465, allocations: 1.199 MB / 473.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007595/0.3541, allocations: 3.172 MB / 477.1 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.3541, allocations: 50.84 kB / 477.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=118): time 3.877e-06/0.3541, allocations: 0 / 477.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=144): time 0.01177/0.3659, allocations: 5.184 MB / 482.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3659, allocations: 64.72 kB / 482.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.3689, allocations: 1.942 MB / 484.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.3692, allocations: 49.7 kB / 484.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.3702, allocations: 1.804 MB / 486.2 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005308/0.3707, allocations: 0.5242 MB / 486.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006714/0.3714, allocations: 412 kB / 487.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.3715, allocations: 301.1 kB / 487.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.3726, allocations: 0.7657 MB / 488.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3741, allocations: 1.566 MB / 489.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/0.3884, allocations: 4.791 MB / 494.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/0.3884, allocations: 8 kB / 494.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007124/0.3955, allocations: 2.88 MB / 497.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.3956, allocations: 20.12 kB / 497.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/0.3956, allocations: 24 kB / 497.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.3967, allocations: 303.5 kB / 497.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.399, allocations: 499.2 kB / 498.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005404/0.4044, allocations: 3.227 MB / 0.4897 GB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.4066, allocations: 99.94 kB / 0.4898 GB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004448/0.4071, allocations: 99.98 kB / 0.4899 GB, free: 8.32 MB / 346.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[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.002745/0.4098, allocations: 1.087 MB / 0.4909 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008235/0.4107, allocations: 258.6 kB / 0.4912 GB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.4152, allocations: 1.749 MB / 0.4929 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.4152, allocations: 16 kB / 0.4929 GB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4153, allocations: 0 / 0.4929 GB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/0.4153, allocations: 11.97 kB / 0.4929 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.4267, allocations: 4.126 MB / 0.497 GB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.4267, allocations: 4 kB / 0.497 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.4282, allocations: 259.9 kB / 0.4972 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009621/0.4291, allocations: 246.9 kB / 0.4974 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/0.4294, allocations: 35.98 kB / 0.4975 GB, free: 480 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005391/0.4348, allocations: 3.103 MB / 0.5005 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.4348, allocations: 7.938 kB / 0.5005 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006234/0.441, allocations: 2.679 MB / 0.5031 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.4426, allocations: 366.5 kB / 0.5035 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007131/0.4433, allocations: 28 kB / 0.5035 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.4449, allocations: 55.97 kB / 0.5036 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.4453, allocations: 112.9 kB / 0.5037 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.4455, allocations: 39.98 kB / 0.5037 GB, free: 9.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003337/0.4488, allocations: 1.254 MB / 0.5049 GB, free: 8.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4488, allocations: 4 kB / 0.5049 GB, free: 8.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003621/0.4524, allocations: 0.6327 MB / 0.5056 GB, free: 8.027 MB / 362.7 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.0006644/0.4531, allocations: 171.6 kB / 0.5057 GB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00496/0.4581, allocations: 1.99 MB / 0.5077 GB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.4581, allocations: 4 kB / 0.5077 GB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.4603, allocations: 0.8881 MB / 0.5085 GB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/0.4642, allocations: 0.4972 MB / 0.509 GB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.4804, allocations: 5.998 MB / 0.5149 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004691/0.4851, allocations: 1.884 MB / 0.5167 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002264/0.4874, allocations: 485.9 kB / 0.5172 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/0.488, allocations: 144.5 kB / 0.5173 GB, free: 11.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.064e-06/0.488, allocations: 0 / 0.5173 GB, free: 11.86 MB / 378.7 MB Notification: Performance of Templates: time 0.06308/0.5511, allocations: 27.56 MB / 0.5442 GB, free: 0.7656 MB / 394.7 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.293983511044644]