Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.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.002379/0.002379, allocations: 89.48 kB / 19.44 MB, free: 336 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.637/1.637, allocations: 177.2 MB / 199.8 MB, free: 5.801 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.0023/0.0023, allocations: 164.6 kB / 256.3 MB, free: 13.16 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.04096/0.04096, allocations: 6.663 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_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 390.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.865e-05, allocations: 6.25 kB / 390.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.04272/0.04276, allocations: 15.94 MB / 406.9 MB, free: 2.922 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2075/0.2502, allocations: 5.464 MB / 412.3 MB, free: 69.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004139/0.2544, allocations: 117.1 kB / 412.5 MB, free: 69.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005089/0.2595, allocations: 1.215 MB / 413.7 MB, free: 69.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007597/0.267, allocations: 1.632 MB / 415.3 MB, free: 68.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.2715, allocations: 1.023 MB / 416.3 MB, free: 68.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009986/0.2815, allocations: 4.978 MB / 421.3 MB, free: 66.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00682/0.2883, allocations: 1.919 MB / 423.2 MB, free: 65.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.2987, allocations: 3.213 MB / 426.4 MB, free: 64.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006368/0.3051, allocations: 2.259 MB / 428.7 MB, free: 63.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002519/0.3076, allocations: 0.5692 MB / 429.3 MB, free: 63.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004843/0.3125, allocations: 0.7871 MB / 430.1 MB, free: 63.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002756/0.3152, allocations: 1.353 MB / 431.4 MB, free: 62.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005959/0.3212, allocations: 1.681 MB / 433.1 MB, free: 61.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.3325, allocations: 7.653 MB / 440.7 MB, free: 54.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3325, allocations: 0 / 440.7 MB, free: 54.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3325, allocations: 0 / 440.7 MB, free: 54.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002998/0.3328, allocations: 4 kB / 440.7 MB, free: 54.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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01575/0.3485, allocations: 5.74 MB / 446.5 MB, free: 48.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3486, allocations: 8.031 kB / 446.5 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.3541, allocations: 1.449 MB / 447.9 MB, free: 47.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006501/0.3606, allocations: 2.779 MB / 450.7 MB, free: 44.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.3608, allocations: 275.8 kB / 451 MB, free: 44.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008283/0.3616, allocations: 370.6 kB / 451.3 MB, free: 44.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008427/0.3701, allocations: 5.062 MB / 456.4 MB, free: 38.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.3702, allocations: 3.281 kB / 456.4 MB, free: 38.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.3705, allocations: 151.9 kB / 456.6 MB, free: 38.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3706, allocations: 159.3 kB / 456.7 MB, free: 38.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006073/0.3767, allocations: 3.638 MB / 460.4 MB, free: 34.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/0.4039, allocations: 24.12 MB / 484.5 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.4082, allocations: 2.599 MB / 487.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.4112, allocations: 1.736 MB / 488.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007432/0.4186, allocations: 3.73 MB / 492.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4186, allocations: 58.64 kB / 492.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 3.026e-06/0.4186, allocations: 0 / 492.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.01469/0.4333, allocations: 5.678 MB / 498.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4334, allocations: 68.72 kB / 498.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004589/0.438, allocations: 2.581 MB / 0.4892 GB, free: 9.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/0.4382, allocations: 57.7 kB / 0.4892 GB, free: 9.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/0.4404, allocations: 2.032 MB / 0.4912 GB, free: 7.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008798/0.4413, allocations: 0.6334 MB / 0.4918 GB, free: 6.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009136/0.4422, allocations: 0.5254 MB / 0.4924 GB, free: 5.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.4424, allocations: 484.7 kB / 0.4928 GB, free: 5.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4439, allocations: 0.6798 MB / 0.4935 GB, free: 4.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.4468, allocations: 1.897 MB / 0.4953 GB, free: 2.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/0.4513, allocations: 2.814 MB / 0.4981 GB, free: 15.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/0.4514, allocations: 8 kB / 0.4981 GB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006233/0.4576, allocations: 2.831 MB / 0.5009 GB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.4576, allocations: 12.75 kB / 0.5009 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-05/0.4577, allocations: 31.94 kB / 0.5009 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.4589, allocations: 364.2 kB / 0.5012 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.4609, allocations: 0.4914 MB / 0.5017 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007825/0.4687, allocations: 5.971 MB / 0.5076 GB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.4709, allocations: 99.88 kB / 0.5077 GB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.4711, allocations: 104 kB / 0.5078 GB, free: 4.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,13,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002271/0.4734, allocations: 1.054 MB / 0.5088 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/0.4741, allocations: 274.6 kB / 0.509 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004462/0.4785, allocations: 2.023 MB / 0.511 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.4786, allocations: 16 kB / 0.511 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4786, allocations: 8 kB / 0.511 GB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4786, allocations: 7.969 kB / 0.511 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.4912, allocations: 5.768 MB / 0.5167 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4912, allocations: 8.031 kB / 0.5167 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.4925, allocations: 271.6 kB / 0.5169 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.4937, allocations: 371 kB / 0.5173 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.4938, allocations: 43.98 kB / 0.5173 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.5039, allocations: 8.459 MB / 0.5256 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5039, allocations: 4 kB / 0.5256 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/0.5103, allocations: 3.06 MB / 0.5286 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.5117, allocations: 398.4 kB / 0.529 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.512, allocations: 35.94 kB / 0.529 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5131, allocations: 63.95 kB / 0.5291 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.5134, allocations: 125 kB / 0.5292 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.5135, allocations: 43.98 kB / 0.5292 GB, free: 14.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002609/0.5161, allocations: 1.444 MB / 0.5306 GB, free: 13.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5161, allocations: 0 / 0.5306 GB, free: 13.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002852/0.519, allocations: 0.6562 MB / 0.5313 GB, free: 12.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.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 {(2,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004113/0.5194, allocations: 174.7 kB / 0.5315 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00469/0.5241, allocations: 2.386 MB / 0.5338 GB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5241, allocations: 3.938 kB / 0.5338 GB, free: 9.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002927/0.527, allocations: 1.526 MB / 0.5353 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.5297, allocations: 0.5086 MB / 0.5358 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.5427, allocations: 6.208 MB / 0.5418 GB, free: 1.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1483/0.691, allocations: 1.858 MB / 0.5436 GB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00208/0.6931, allocations: 436 kB / 0.5441 GB, free: 119 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.6936, allocations: 155.8 kB / 0.5442 GB, free: 119 MB / 394.7 MB Notification: Performance of SimCode: time 2.986e-06/0.6936, allocations: 1.344 kB / 0.5442 GB, free: 119 MB / 394.7 MB Notification: Performance of Templates: time 0.05085/0.7444, allocations: 29.68 MB / 0.5732 GB, free: 107 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.49444565793965]