Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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.0009842/0.0009842, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.036/1.036, allocations: 177.1 MB / 200.3 MB, free: 5.711 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.001903/0.001903, allocations: 156.7 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.02494/0.02494, allocations: 6.664 MB / 320.1 MB, free: 26.35 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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 392.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.078e-05, allocations: 5.266 kB / 392.1 MB, free: 2.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.03132/0.03136, allocations: 15.7 MB / 407.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.1859, allocations: 5.443 MB / 413.3 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.1892, allocations: 115.2 kB / 413.4 MB, free: 69.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.1929, allocations: 1.224 MB / 414.6 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.1981, allocations: 1.626 MB / 416.2 MB, free: 69.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.2006, allocations: 1.012 MB / 417.2 MB, free: 69.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006164/0.2068, allocations: 4.974 MB / 422.2 MB, free: 66.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/0.2099, allocations: 1.923 MB / 424.1 MB, free: 65.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.2153, allocations: 3.222 MB / 427.4 MB, free: 64.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.2188, allocations: 2.268 MB / 429.6 MB, free: 63.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.2202, allocations: 0.5652 MB / 430.2 MB, free: 63.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.2222, allocations: 0.7936 MB / 431 MB, free: 63.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009097/0.2231, allocations: 1.342 MB / 432.3 MB, free: 62.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.2254, allocations: 1.686 MB / 434 MB, free: 61.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003887/0.2292, allocations: 3.94 MB / 438 MB, free: 58.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2293, allocations: 0 / 438 MB, free: 58.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2293, allocations: 0 / 438 MB, free: 58.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.187e-05/0.2293, allocations: 0 / 438 MB, free: 58.13 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.005575/0.2349, allocations: 5.185 MB / 443.1 MB, free: 53.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.2349, allocations: 8.031 kB / 443.2 MB, free: 53.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.2377, allocations: 1.39 MB / 444.5 MB, free: 51.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.2402, allocations: 2.572 MB / 447.1 MB, free: 49.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.2403, allocations: 279.6 kB / 447.4 MB, free: 48.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.2406, allocations: 364.3 kB / 447.7 MB, free: 48.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.2432, allocations: 2.72 MB / 450.5 MB, free: 45.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.2432, allocations: 0 / 450.5 MB, free: 45.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.2434, allocations: 159.1 kB / 450.6 MB, free: 45.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.769e-05/0.2435, allocations: 155.3 kB / 450.8 MB, free: 45.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.2448, allocations: 1.076 MB / 451.8 MB, free: 44.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/0.2639, allocations: 12.54 MB / 464.4 MB, free: 32.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2657, allocations: 1.871 MB / 466.3 MB, free: 30.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.2669, allocations: 1.159 MB / 467.4 MB, free: 29.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003291/0.2702, allocations: 2.803 MB / 470.2 MB, free: 26.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2702, allocations: 50.7 kB / 470.3 MB, free: 26.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.945e-06/0.2702, allocations: 7.984 kB / 470.3 MB, free: 26.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.005531/0.2757, allocations: 3.54 MB / 473.8 MB, free: 22.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.2758, allocations: 68.72 kB / 473.9 MB, free: 22.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.2772, allocations: 1.742 MB / 475.6 MB, free: 21.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.2773, allocations: 57.7 kB / 475.7 MB, free: 21.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/0.2779, allocations: 1.911 MB / 477.6 MB, free: 19.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.2782, allocations: 0.5893 MB / 478.2 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/0.2786, allocations: 441 kB / 478.6 MB, free: 18.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.2786, allocations: 483.5 kB / 479.1 MB, free: 18.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.2789, allocations: 248.2 kB / 479.3 MB, free: 17.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.2794, allocations: 1.369 MB / 480.7 MB, free: 16.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2805, allocations: 1.813 MB / 482.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.2805, allocations: 8 kB / 482.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00207/0.2826, allocations: 1.851 MB / 484.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2826, allocations: 12 kB / 484.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.2827, allocations: 28 kB / 484.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.2831, allocations: 260.8 kB / 484.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.284, allocations: 491.2 kB / 485.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.2863, allocations: 4.95 MB / 490.1 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2874, allocations: 87.94 kB / 490.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.2875, allocations: 83.98 kB / 490.3 MB, free: 5.836 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.0007248/0.2882, allocations: 303.8 kB / 490.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.2884, allocations: 282.6 kB / 490.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.2898, allocations: 1.288 MB / 492.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.2898, allocations: 19.98 kB / 492.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2898, allocations: 4 kB / 492.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2898, allocations: 7.969 kB / 492.2 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.2933, allocations: 3.27 MB / 495.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2933, allocations: 3.938 kB / 495.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.2939, allocations: 255.7 kB / 495.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.2943, allocations: 274.6 kB / 495.9 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.2944, allocations: 39.98 kB / 496 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/0.2983, allocations: 7.135 MB / 0.4913 GB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2983, allocations: 11.88 kB / 0.4913 GB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.3006, allocations: 1.732 MB / 0.493 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/0.3012, allocations: 378.4 kB / 0.4934 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.3014, allocations: 28 kB / 0.4934 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.3018, allocations: 55.97 kB / 0.4935 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.302, allocations: 117 kB / 0.4936 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.3021, allocations: 35.98 kB / 0.4936 GB, free: 6.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008424/0.3029, allocations: 0.9039 MB / 0.4945 GB, free: 5.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3029, allocations: 0 / 0.4945 GB, free: 5.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001794/0.3047, allocations: 0.6562 MB / 0.4951 GB, free: 4.98 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.0002607/0.305, allocations: 165.4 kB / 0.4953 GB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.3066, allocations: 1.534 MB / 0.4968 GB, free: 3.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3066, allocations: 0 / 0.4968 GB, free: 3.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.3076, allocations: 1.134 MB / 0.4979 GB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3088, allocations: 0.4893 MB / 0.4984 GB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/0.3164, allocations: 5.662 MB / 0.5039 GB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.3171, allocations: 0.8698 MB / 0.5048 GB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009374/0.318, allocations: 310.8 kB / 0.5051 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008246/0.3189, allocations: 0.5682 MB / 0.5056 GB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 2.224e-06/0.3189, allocations: 0 / 0.5056 GB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.04449/0.3634, allocations: 31.95 MB / 0.5368 GB, free: 10.69 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8553169779479504]