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.001865/0.001865, allocations: 91.06 kB / 19.44 MB, free: 320 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.596/1.596, allocations: 177.1 MB / 199.7 MB, free: 5.812 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.001779/0.001779, allocations: 156.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.03794/0.03794, allocations: 6.659 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_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.385e-06/2.385e-06, allocations: 0 / 390.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/3.944e-05, allocations: 2.312 kB / 390.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_DOL): time 0.02518/0.02522, allocations: 15.13 MB / 406.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1978/0.223, allocations: 5.444 MB / 411.5 MB, free: 68.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003904/0.2269, allocations: 131.7 kB / 411.6 MB, free: 68.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.2318, allocations: 1.279 MB / 412.9 MB, free: 68.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.2394, allocations: 1.686 MB / 414.6 MB, free: 68.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.2435, allocations: 1.082 MB / 415.7 MB, free: 68.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009113/0.2527, allocations: 5.294 MB / 421 MB, free: 66.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005912/0.2586, allocations: 2.223 MB / 423.2 MB, free: 65.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009482/0.268, allocations: 3.432 MB / 426.6 MB, free: 64.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00588/0.2739, allocations: 2.254 MB / 428.9 MB, free: 63.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003507/0.2774, allocations: 0.6185 MB / 429.5 MB, free: 63.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.2818, allocations: 0.8506 MB / 430.4 MB, free: 62.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.2843, allocations: 1.469 MB / 431.8 MB, free: 61.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005492/0.2898, allocations: 1.802 MB / 433.6 MB, free: 60.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3014, allocations: 8.252 MB / 441.9 MB, free: 52.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3014, allocations: 6.531 kB / 441.9 MB, free: 52.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3015, allocations: 0 / 441.9 MB, free: 52.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003298/0.3018, allocations: 3.938 kB / 441.9 MB, free: 52.92 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.01687/0.3187, allocations: 5.417 MB / 447.3 MB, free: 47.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3187, allocations: 16.02 kB / 447.3 MB, free: 47.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007723/0.3264, allocations: 1.512 MB / 448.8 MB, free: 45.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007675/0.3341, allocations: 3.129 MB / 452 MB, free: 42.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.3345, allocations: 308.5 kB / 452.3 MB, free: 42.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.336, allocations: 400.3 kB / 452.7 MB, free: 42.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.3497, allocations: 5.377 MB / 458 MB, free: 36.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.3498, allocations: 7.953 kB / 458 MB, free: 36.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006003/0.3504, allocations: 167.4 kB / 458.2 MB, free: 36.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.3506, allocations: 186.4 kB / 458.4 MB, free: 36.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009232/0.3598, allocations: 4.458 MB / 462.9 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02701/0.3868, allocations: 14.65 MB / 477.5 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005754/0.3926, allocations: 3.268 MB / 480.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/0.3966, allocations: 2.003 MB / 482.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009297/0.4059, allocations: 4.193 MB / 487 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.4059, allocations: 59.33 kB / 487 MB, free: 7.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 3.928e-06/0.4059, allocations: 0 / 487 MB, free: 7.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01252/0.4184, allocations: 5.964 MB / 493 MB, free: 2.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.4185, allocations: 68.72 kB / 493.1 MB, free: 1.926 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.4219, allocations: 2.118 MB / 495.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.4221, allocations: 53.64 kB / 495.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002039/0.4242, allocations: 1.915 MB / 497.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008734/0.4251, allocations: 0.569 MB / 497.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009856/0.426, allocations: 403.8 kB / 498.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4262, allocations: 301.1 kB / 498.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.4283, allocations: 0.8666 MB / 499.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.4313, allocations: 1.593 MB / 0.4891 GB, free: 9.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/0.4372, allocations: 2.595 MB / 0.4916 GB, free: 6.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-05/0.4372, allocations: 4 kB / 0.4917 GB, free: 6.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.007979/0.4452, allocations: 3.005 MB / 0.4946 GB, free: 3.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.4452, allocations: 16 kB / 0.4946 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.589e-05/0.4453, allocations: 24 kB / 0.4946 GB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/0.4459, allocations: 184.3 kB / 0.4948 GB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.4485, allocations: 0.5266 MB / 0.4953 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.4523, allocations: 2.279 MB / 0.4975 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.4547, allocations: 115.8 kB / 0.4977 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/0.4551, allocations: 104 kB / 0.4978 GB, free: 492 kB / 346.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.00347/0.4586, allocations: 1.192 MB / 0.4989 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009706/0.4596, allocations: 298.4 kB / 0.4992 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/0.4655, allocations: 2.371 MB / 0.5015 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.4655, allocations: 16 kB / 0.5015 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/0.4655, allocations: 11.94 kB / 0.5015 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.4656, allocations: 7.969 kB / 0.5015 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.4784, allocations: 4.909 MB / 0.5063 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.4784, allocations: 4 kB / 0.5063 GB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.48, allocations: 283.6 kB / 0.5066 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.4815, allocations: 376.8 kB / 0.507 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003047/0.4818, allocations: 47.92 kB / 0.507 GB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.4932, allocations: 6.952 MB / 0.5138 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4932, allocations: 0 / 0.5138 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009484/0.5026, allocations: 3.552 MB / 0.5173 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/0.5045, allocations: 430.2 kB / 0.5177 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008523/0.5053, allocations: 32 kB / 0.5177 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/0.5072, allocations: 79.94 kB / 0.5178 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/0.5078, allocations: 129 kB / 0.5179 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/0.508, allocations: 47.98 kB / 0.518 GB, free: 11.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003622/0.5116, allocations: 1.4 MB / 0.5193 GB, free: 9.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5116, allocations: 0 / 0.5193 GB, free: 9.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003808/0.5154, allocations: 0.6718 MB / 0.52 GB, free: 9.266 MB / 378.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.0006828/0.5161, allocations: 170.6 kB / 0.5202 GB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.5216, allocations: 2.174 MB / 0.5223 GB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.5216, allocations: 192 / 0.5223 GB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003422/0.525, allocations: 1.42 MB / 0.5237 GB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/0.5289, allocations: 0.5264 MB / 0.5242 GB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.5488, allocations: 6.942 MB / 0.531 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004343/0.5531, allocations: 2.139 MB / 0.533 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002192/0.5553, allocations: 0.5303 MB / 0.5336 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.5559, allocations: 164.5 kB / 0.5337 GB, free: 11.07 MB / 394.7 MB Notification: Performance of SimCode: time 2.043e-06/0.5559, allocations: 0 / 0.5337 GB, free: 11.07 MB / 394.7 MB Notification: Performance of Templates: time 0.2374/0.7933, allocations: 30.13 MB / 0.5631 GB, free: 118.7 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.688266393961385]