Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.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.001951/0.001951, allocations: 81.5 kB / 19.44 MB, free: 344 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.621/1.621, allocations: 177.1 MB / 199.7 MB, free: 5.82 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.002293/0.002293, allocations: 172.3 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.04018/0.04018, allocations: 6.656 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 390.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.743e-05, allocations: 2.312 kB / 390.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.02764/0.02768, allocations: 16.8 MB / 407.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2055/0.2332, allocations: 5.62 MB / 413.4 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004257/0.2374, allocations: 127.6 kB / 413.5 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005084/0.2425, allocations: 1.275 MB / 414.8 MB, free: 69.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.25, allocations: 1.695 MB / 416.5 MB, free: 68.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.254, allocations: 1.087 MB / 417.5 MB, free: 68.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008735/0.2627, allocations: 5.292 MB / 422.8 MB, free: 65.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005232/0.2679, allocations: 2.234 MB / 425.1 MB, free: 64.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008293/0.2762, allocations: 3.467 MB / 428.5 MB, free: 63.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00544/0.2817, allocations: 2.459 MB / 431 MB, free: 61.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.2836, allocations: 0.6183 MB / 431.6 MB, free: 61.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.287, allocations: 0.8516 MB / 432.5 MB, free: 61.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001825/0.2888, allocations: 1.49 MB / 434 MB, free: 60.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004021/0.2928, allocations: 1.829 MB / 435.8 MB, free: 59.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007149/0.3, allocations: 8.296 MB / 444.1 MB, free: 51.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3, allocations: 0 / 444.1 MB, free: 51.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3, allocations: 4 kB / 444.1 MB, free: 51.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002083/0.3002, allocations: 0 / 444.1 MB, free: 51.58 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.0135/0.3137, allocations: 6.183 MB / 450.3 MB, free: 45.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3137, allocations: 8.031 kB / 450.3 MB, free: 45.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.3192, allocations: 1.519 MB / 451.8 MB, free: 43.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/0.3257, allocations: 2.962 MB / 454.8 MB, free: 40.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.3259, allocations: 301.9 kB / 455.1 MB, free: 40.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008361/0.3267, allocations: 399 kB / 455.4 MB, free: 40.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.335, allocations: 5.459 MB / 460.9 MB, free: 34.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.165e-05/0.3351, allocations: 14.88 kB / 460.9 MB, free: 34.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.3354, allocations: 167.9 kB / 461.1 MB, free: 34.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3356, allocations: 172 kB / 461.2 MB, free: 34.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.3418, allocations: 3.92 MB / 465.2 MB, free: 30.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02767/0.3694, allocations: 25.36 MB / 490.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.374, allocations: 3.045 MB / 493.6 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/0.3777, allocations: 1.841 MB / 495.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009314/0.387, allocations: 4.214 MB / 499.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.3873, allocations: 54.7 kB / 499.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 4.078e-06/0.3873, allocations: 0 / 499.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=161): time 0.01309/0.4004, allocations: 5.085 MB / 0.4929 GB, free: 5.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.4005, allocations: 72.72 kB / 0.493 GB, free: 5.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/0.4054, allocations: 2.666 MB / 0.4956 GB, free: 2.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.4056, allocations: 53.7 kB / 0.4957 GB, free: 2.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.4079, allocations: 2.166 MB / 0.4978 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/0.4087, allocations: 0.6354 MB / 0.4984 GB, free: 24 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009378/0.4097, allocations: 0.5192 MB / 0.4989 GB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002845/0.41, allocations: 476.8 kB / 0.4994 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4113, allocations: 0.6523 MB / 0.5 GB, free: 14.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.4142, allocations: 1.801 MB / 0.5017 GB, free: 12.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.4184, allocations: 2.672 MB / 0.5044 GB, free: 9.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/0.4185, allocations: 11.98 kB / 0.5044 GB, free: 9 MB / 362.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.005738/0.4242, allocations: 2.589 MB / 0.5069 GB, free: 6.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.4242, allocations: 12.53 kB / 0.5069 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.364e-05/0.4243, allocations: 24 kB / 0.5069 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.4248, allocations: 159.2 kB / 0.5071 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.4269, allocations: 0.5265 MB / 0.5076 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.4302, allocations: 2.591 MB / 0.5101 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4322, allocations: 115.8 kB / 0.5102 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.4324, allocations: 99.98 kB / 0.5103 GB, free: 2.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (267): * Single equations (assignments): 265 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002304/0.4347, allocations: 1.078 MB / 0.5114 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006337/0.4354, allocations: 290.5 kB / 0.5117 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/0.44, allocations: 1.985 MB / 0.5136 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.44, allocations: 16 kB / 0.5136 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.44, allocations: 7.938 kB / 0.5136 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.44, allocations: 7.969 kB / 0.5136 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.4527, allocations: 5.793 MB / 0.5193 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.4527, allocations: 4.188 kB / 0.5193 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.4541, allocations: 279.6 kB / 0.5196 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.4554, allocations: 368.4 kB / 0.5199 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.4556, allocations: 43.98 kB / 0.52 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.466, allocations: 8.427 MB / 0.5282 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.466, allocations: 7.984 kB / 0.5282 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/0.4727, allocations: 2.975 MB / 0.5311 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.4742, allocations: 406.2 kB / 0.5315 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.4745, allocations: 44 kB / 0.5315 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.4756, allocations: 75.89 kB / 0.5316 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/0.4759, allocations: 121.1 kB / 0.5317 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.476, allocations: 47.98 kB / 0.5318 GB, free: 12.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002836/0.4789, allocations: 1.505 MB / 0.5332 GB, free: 10.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4789, allocations: 0 / 0.5332 GB, free: 10.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003084/0.482, allocations: 0.6796 MB / 0.5339 GB, free: 10.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * 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 (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004932/0.4825, allocations: 173.3 kB / 0.5341 GB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.487, allocations: 2.06 MB / 0.5361 GB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.487, allocations: 8 kB / 0.5361 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.4901, allocations: 1.522 MB / 0.5376 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/0.4931, allocations: 0.5233 MB / 0.5381 GB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1723/0.6653, allocations: 6.569 MB / 0.5445 GB, free: 119.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0036/0.6689, allocations: 2.012 MB / 0.5465 GB, free: 119.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001999/0.6709, allocations: 468.3 kB / 0.5469 GB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.6715, allocations: 158.4 kB / 0.5471 GB, free: 119.1 MB / 394.7 MB Notification: Performance of SimCode: time 2.595e-06/0.6715, allocations: 1.031 kB / 0.5471 GB, free: 119.1 MB / 394.7 MB Notification: Performance of Templates: time 0.05383/0.7253, allocations: 30.11 MB / 0.5765 GB, free: 104.6 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.494094860041514]