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.00109/0.00109, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.035/1.035, allocations: 177.2 MB / 200.3 MB, free: 5.691 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.001614/0.001614, allocations: 152.6 kB / 256.9 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.02588/0.02588, allocations: 6.662 MB / 320.1 MB, free: 26.36 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.325e-06/2.325e-06, allocations: 0 / 392.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.47e-05, allocations: 6.109 kB / 392.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.0183/0.01832, allocations: 15.69 MB / 407.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1592/0.1775, allocations: 5.445 MB / 413.2 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.1798, allocations: 118.2 kB / 413.3 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.1825, allocations: 1.225 MB / 414.6 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.1863, allocations: 1.622 MB / 416.2 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.1882, allocations: 1.015 MB / 417.2 MB, free: 69.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005084/0.1933, allocations: 4.977 MB / 422.2 MB, free: 66.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.1961, allocations: 1.916 MB / 424.1 MB, free: 65.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.2006, allocations: 3.228 MB / 427.3 MB, free: 64.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.2038, allocations: 2.271 MB / 429.6 MB, free: 63.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.2048, allocations: 0.5668 MB / 430.2 MB, free: 63.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.2061, allocations: 0.787 MB / 431 MB, free: 63.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006313/0.2067, allocations: 1.354 MB / 432.3 MB, free: 62.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.208, allocations: 1.671 MB / 434 MB, free: 61.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.2107, allocations: 3.941 MB / 437.9 MB, free: 58.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2107, allocations: 4 kB / 437.9 MB, free: 58.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2107, allocations: 0 / 437.9 MB, free: 58.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.2107, allocations: 0 / 437.9 MB, free: 58.17 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.005049/0.2158, allocations: 5.177 MB / 443.1 MB, free: 53.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2158, allocations: 12.03 kB / 443.1 MB, free: 53.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.2184, allocations: 1.385 MB / 444.5 MB, free: 51.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.2207, allocations: 2.581 MB / 447.1 MB, free: 49.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.613e-05/0.2208, allocations: 277.4 kB / 447.4 MB, free: 48.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.2211, allocations: 370.1 kB / 447.7 MB, free: 48.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.2236, allocations: 2.712 MB / 450.4 MB, free: 45.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.2236, allocations: 11.56 kB / 450.4 MB, free: 45.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.2238, allocations: 154.4 kB / 450.6 MB, free: 45.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.991e-05/0.2239, allocations: 159.3 kB / 450.7 MB, free: 45.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2253, allocations: 1.069 MB / 451.8 MB, free: 44.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009748/0.235, allocations: 12.54 MB / 464.3 MB, free: 32.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.2371, allocations: 1.869 MB / 466.2 MB, free: 30.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.2384, allocations: 1.162 MB / 467.4 MB, free: 29.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002857/0.2412, allocations: 2.812 MB / 470.2 MB, free: 26.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2413, allocations: 54.7 kB / 470.2 MB, free: 26.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.856e-06/0.2413, allocations: 4 kB / 470.2 MB, free: 26.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.00457/0.2458, allocations: 3.53 MB / 473.8 MB, free: 23.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.2459, allocations: 68.72 kB / 473.8 MB, free: 22.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.2472, allocations: 1.748 MB / 475.6 MB, free: 21.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/0.2473, allocations: 53.7 kB / 475.6 MB, free: 21.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.2484, allocations: 1.916 MB / 477.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.2487, allocations: 0.5867 MB / 478.1 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.2492, allocations: 450.6 kB / 478.6 MB, free: 18.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.2493, allocations: 484.7 kB / 479.1 MB, free: 18.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.2495, allocations: 240.2 kB / 479.3 MB, free: 17.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.2501, allocations: 1.372 MB / 480.7 MB, free: 16.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2512, allocations: 1.818 MB / 482.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.2512, allocations: 8 kB / 482.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001773/0.253, allocations: 1.842 MB / 484.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.253, allocations: 16 kB / 484.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.253, allocations: 27.98 kB / 484.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.2535, allocations: 260.2 kB / 484.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/0.2543, allocations: 0.4914 MB / 485.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.2564, allocations: 4.935 MB / 490.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.2571, allocations: 87.94 kB / 490.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.2572, allocations: 87.98 kB / 490.2 MB, free: 5.887 MB / 330.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.000632/0.2578, allocations: 315.9 kB / 490.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.258, allocations: 274.5 kB / 490.8 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.2593, allocations: 1.292 MB / 492.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2594, allocations: 15.98 kB / 492.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2594, allocations: 8 kB / 492.1 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2594, allocations: 3.984 kB / 492.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.2627, allocations: 3.261 MB / 495.4 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2627, allocations: 4 kB / 495.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.2633, allocations: 259.6 kB / 495.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.2637, allocations: 268.7 kB / 495.9 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/0.2638, allocations: 35.98 kB / 495.9 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/0.2677, allocations: 7.145 MB / 0.4913 GB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2677, allocations: 3.938 kB / 0.4913 GB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.2697, allocations: 1.737 MB / 0.493 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.2701, allocations: 374.4 kB / 0.4934 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.2703, allocations: 32 kB / 0.4934 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.2707, allocations: 59.97 kB / 0.4934 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.2709, allocations: 113 kB / 0.4936 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.2709, allocations: 35.98 kB / 0.4936 GB, free: 6.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006995/0.2716, allocations: 0.9058 MB / 0.4945 GB, free: 5.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2716, allocations: 0 / 0.4945 GB, free: 5.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00144/0.273, allocations: 0.6523 MB / 0.4951 GB, free: 5.035 MB / 346.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.0002353/0.2733, allocations: 167 kB / 0.4953 GB, free: 4.859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2748, allocations: 1.526 MB / 0.4968 GB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2748, allocations: 0 / 0.4968 GB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008818/0.2757, allocations: 1.139 MB / 0.4979 GB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.2771, allocations: 0.4982 MB / 0.4984 GB, free: 1.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.2837, allocations: 5.663 MB / 0.5039 GB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.2844, allocations: 0.8815 MB / 0.5047 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.2855, allocations: 302.8 kB / 0.505 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.2863, allocations: 0.5682 MB / 0.5056 GB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2863, allocations: 0 / 0.5056 GB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.04142/0.3277, allocations: 31.93 MB / 0.5368 GB, free: 10.75 MB / 394.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.88355201901868]