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.001069/0.001069, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.013/1.013, allocations: 177.1 MB / 201 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.001226/0.001226, allocations: 148.7 kB / 257.7 MB, free: 12.98 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.02413/0.02413, allocations: 6.654 MB / 320.9 MB, free: 11.44 MB / 298.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 1.744e-06/1.744e-06, allocations: 0 / 392.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.639e-05, allocations: 6.312 kB / 392.9 MB, free: 3.336 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01247/0.01249, allocations: 15.67 MB / 408.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008947/0.02143, allocations: 5.458 MB / 414 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.02347, allocations: 115.4 kB / 414.1 MB, free: 14 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.02573, allocations: 1.223 MB / 415.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.02873, allocations: 1.634 MB / 417 MB, free: 11.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.03021, allocations: 1.02 MB / 418 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004027/0.03423, allocations: 4.976 MB / 423 MB, free: 5.109 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.03607, allocations: 1.921 MB / 424.9 MB, free: 3.125 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.03889, allocations: 3.22 MB / 428.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.04112, allocations: 2.268 MB / 430.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.04158, allocations: 0.5703 MB / 431 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009058/0.04248, allocations: 0.7886 MB / 431.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.04319, allocations: 1.34 MB / 433.1 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.04442, allocations: 1.684 MB / 434.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.04771, allocations: 3.941 MB / 438.7 MB, free: 5.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.04771, allocations: 0 / 438.7 MB, free: 5.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.04771, allocations: 0 / 438.7 MB, free: 5.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.04775, allocations: 0 / 438.7 MB, free: 5.281 MB / 410.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.006621/0.05437, allocations: 5.182 MB / 443.9 MB, free: 32 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.05441, allocations: 11.97 kB / 443.9 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1338/0.1882, allocations: 1.374 MB / 445.3 MB, free: 137.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.1916, allocations: 2.575 MB / 447.9 MB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.1918, allocations: 278.4 kB / 448.1 MB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.1922, allocations: 370 kB / 448.5 MB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.196, allocations: 2.713 MB / 451.2 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.1961, allocations: 3.406 kB / 451.2 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.1963, allocations: 154.3 kB / 451.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.1964, allocations: 153.9 kB / 451.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.1987, allocations: 1.077 MB / 452.6 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.2107, allocations: 12.54 MB / 465.1 MB, free: 130.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.2128, allocations: 1.877 MB / 467 MB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.2141, allocations: 1.15 MB / 468.2 MB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003064/0.2172, allocations: 2.797 MB / 471 MB, free: 128.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2172, allocations: 50.95 kB / 471 MB, free: 128.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 2.815e-06/0.2172, allocations: 0 / 471 MB, free: 128.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.004758/0.222, allocations: 3.524 MB / 474.5 MB, free: 126.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.222, allocations: 72.7 kB / 474.6 MB, free: 126.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2231, allocations: 1.74 MB / 476.4 MB, free: 124.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.2231, allocations: 53.7 kB / 476.4 MB, free: 124.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000654/0.2238, allocations: 1.908 MB / 478.3 MB, free: 122.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.224, allocations: 0.5918 MB / 478.9 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.2244, allocations: 457.5 kB / 479.4 MB, free: 121.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.2244, allocations: 480.7 kB / 479.8 MB, free: 121.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.2247, allocations: 244 kB / 480.1 MB, free: 121.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.2253, allocations: 1.375 MB / 481.4 MB, free: 119.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.2265, allocations: 1.81 MB / 483.2 MB, free: 117.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.2265, allocations: 12 kB / 483.3 MB, free: 117.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001836/0.2283, allocations: 1.854 MB / 485.1 MB, free: 115.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2284, allocations: 16 kB / 485.1 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.2284, allocations: 24 kB / 485.1 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.2288, allocations: 258 kB / 485.4 MB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.2297, allocations: 498.3 kB / 485.9 MB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.2317, allocations: 4.946 MB / 490.8 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.2324, allocations: 91.97 kB / 490.9 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.2325, allocations: 83.98 kB / 491 MB, free: 109.5 MB / 410.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.0005098/0.233, allocations: 307.1 kB / 491.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.2332, allocations: 278.5 kB / 491.6 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.2346, allocations: 1.29 MB / 492.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2346, allocations: 16 kB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2346, allocations: 4 kB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2346, allocations: 7.969 kB / 492.9 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.2378, allocations: 3.269 MB / 496.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.2378, allocations: 0 / 496.2 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.2383, allocations: 261.8 kB / 496.4 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.2388, allocations: 271.9 kB / 496.7 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.2388, allocations: 39.98 kB / 496.7 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.2414, allocations: 7.128 MB / 0.492 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2414, allocations: 4 kB / 0.492 GB, free: 96.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.2431, allocations: 1.741 MB / 0.4937 GB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.2435, allocations: 377.4 kB / 0.4941 GB, free: 94.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.2436, allocations: 32 kB / 0.4941 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.2441, allocations: 55.97 kB / 0.4942 GB, free: 94.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.2443, allocations: 120.6 kB / 0.4943 GB, free: 94.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.2444, allocations: 35.98 kB / 0.4943 GB, free: 94.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005732/0.2449, allocations: 0.8981 MB / 0.4952 GB, free: 93.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2449, allocations: 0 / 0.4952 GB, free: 93.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001299/0.2462, allocations: 0.6562 MB / 0.4959 GB, free: 92.83 MB / 410.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.0002178/0.2464, allocations: 164.2 kB / 0.496 GB, free: 92.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.2478, allocations: 1.537 MB / 0.4975 GB, free: 91.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2478, allocations: 192 / 0.4975 GB, free: 91.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.2485, allocations: 1.129 MB / 0.4986 GB, free: 90.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.2496, allocations: 0.4977 MB / 0.4991 GB, free: 89.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.255, allocations: 5.648 MB / 0.5046 GB, free: 83.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.2555, allocations: 0.8737 MB / 0.5055 GB, free: 83.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006775/0.2562, allocations: 314.8 kB / 0.5058 GB, free: 82.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.2569, allocations: 0.5682 MB / 0.5063 GB, free: 82.13 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2569, allocations: 0 / 0.5063 GB, free: 82.13 MB / 410.7 MB Notification: Performance of Templates: time 0.0357/0.2926, allocations: 32.48 MB / 0.538 GB, free: 50.18 MB / 410.7 MB " [Timeout remaining time 660] 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: 3.725252310745418]