Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.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.001032/0.001032, allocations: 93.06 kB / 19.65 MB, free: 272 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.011/1.011, allocations: 177.2 MB / 200 MB, free: 5.52 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.001362/0.001362, allocations: 160.6 kB / 256.6 MB, free: 12.99 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.0315/0.0315, allocations: 6.658 MB / 319.8 MB, free: 26.52 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_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 391.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.224e-05, allocations: 2.312 kB / 391.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01296/0.01298, allocations: 16.12 MB / 407.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1398/0.1528, allocations: 5.481 MB / 413.3 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.1552, allocations: 115.3 kB / 413.4 MB, free: 69.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.1576, allocations: 1.221 MB / 414.6 MB, free: 69.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.1611, allocations: 1.632 MB / 416.2 MB, free: 69.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1628, allocations: 1.024 MB / 417.3 MB, free: 69.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004612/0.1674, allocations: 4.976 MB / 422.2 MB, free: 66.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.1697, allocations: 1.917 MB / 424.2 MB, free: 65.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/0.1734, allocations: 3.218 MB / 427.4 MB, free: 64.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.1759, allocations: 2.259 MB / 429.6 MB, free: 63.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007544/0.1767, allocations: 0.5684 MB / 430.2 MB, free: 63.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.1778, allocations: 0.7898 MB / 431 MB, free: 63.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006073/0.1785, allocations: 1.343 MB / 432.3 MB, free: 62.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1798, allocations: 1.685 MB / 434 MB, free: 61.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.1824, allocations: 3.936 MB / 438 MB, free: 58.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1824, allocations: 0 / 438 MB, free: 58.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1824, allocations: 4 kB / 438 MB, free: 58.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.1824, allocations: 3.938 kB / 438 MB, free: 58.23 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.005101/0.1875, allocations: 5.274 MB / 443.2 MB, free: 52.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1875, allocations: 8.031 kB / 443.3 MB, free: 52.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.1902, allocations: 1.45 MB / 444.7 MB, free: 51.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.1926, allocations: 2.699 MB / 447.4 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.1927, allocations: 277.8 kB / 447.7 MB, free: 48.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.193, allocations: 374.4 kB / 448 MB, free: 48.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/0.1961, allocations: 2.95 MB / 451 MB, free: 45.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.1962, allocations: 0 / 451 MB, free: 45.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.1963, allocations: 151.9 kB / 451.1 MB, free: 44.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-05/0.1964, allocations: 151.4 kB / 451.3 MB, free: 44.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1986, allocations: 1.406 MB / 452.7 MB, free: 43.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009671/0.2083, allocations: 12.59 MB / 465.3 MB, free: 30.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.2104, allocations: 2.024 MB / 467.3 MB, free: 28.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.2118, allocations: 1.251 MB / 468.6 MB, free: 27.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002703/0.2145, allocations: 2.87 MB / 471.4 MB, free: 24.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2145, allocations: 54.7 kB / 471.5 MB, free: 24.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.474e-06/0.2145, allocations: 0 / 471.5 MB, free: 24.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.005194/0.2197, allocations: 4.223 MB / 475.7 MB, free: 20.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.2197, allocations: 68.72 kB / 475.8 MB, free: 20.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.221, allocations: 1.784 MB / 477.6 MB, free: 18.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.2211, allocations: 49.7 kB / 477.6 MB, free: 18.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.2216, allocations: 1.903 MB / 479.5 MB, free: 16.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.2218, allocations: 0.5819 MB / 480.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/0.2222, allocations: 430 kB / 480.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.2222, allocations: 484.7 kB / 481 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.2227, allocations: 320.2 kB / 481.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.2234, allocations: 1.436 MB / 482.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2247, allocations: 1.934 MB / 484.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.2247, allocations: 8 kB / 484.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002016/0.2267, allocations: 2.026 MB / 486.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2267, allocations: 12.75 kB / 486.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2267, allocations: 28 kB / 486.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.2272, allocations: 265.8 kB / 487 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/0.2281, allocations: 0.4914 MB / 487.5 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.2302, allocations: 5.06 MB / 492.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.2308, allocations: 95.92 kB / 492.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.2309, allocations: 104 kB / 492.7 MB, free: 1.883 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.0004462/0.2314, allocations: 307.8 kB / 493 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.2316, allocations: 286.5 kB / 493.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.2331, allocations: 1.398 MB / 494.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.2331, allocations: 19.98 kB / 494.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2331, allocations: 4 kB / 494.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.2332, allocations: 7.984 kB / 494.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.2377, allocations: 3.992 MB / 498.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.2377, allocations: 4 kB / 498.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.2383, allocations: 263.8 kB / 499 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005319/0.2388, allocations: 270.8 kB / 499.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.2389, allocations: 39.98 kB / 499.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/0.243, allocations: 7.289 MB / 0.4947 GB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.243, allocations: 7.938 kB / 0.4947 GB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.2452, allocations: 1.914 MB / 0.4966 GB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.2457, allocations: 394.4 kB / 0.497 GB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.2458, allocations: 39.92 kB / 0.497 GB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.2463, allocations: 55.97 kB / 0.4971 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.2464, allocations: 121 kB / 0.4972 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.2465, allocations: 47.98 kB / 0.4972 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.2477, allocations: 0.9857 MB / 0.4982 GB, free: 15.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2477, allocations: 8 kB / 0.4982 GB, free: 15.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001332/0.2491, allocations: 0.6523 MB / 0.4988 GB, free: 15.28 MB / 362.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.0002458/0.2493, allocations: 171.5 kB / 0.499 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.2511, allocations: 1.647 MB / 0.5006 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2511, allocations: 1.875 kB / 0.5006 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.2521, allocations: 1.189 MB / 0.5018 GB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2532, allocations: 0.498 MB / 0.5023 GB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/0.2596, allocations: 5.723 MB / 0.5079 GB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.2601, allocations: 0.8776 MB / 0.5087 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000773/0.2609, allocations: 430.5 kB / 0.5091 GB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.2612, allocations: 160.5 kB / 0.5093 GB, free: 4.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2612, allocations: 0 / 0.5093 GB, free: 4.41 MB / 362.7 MB Notification: Performance of Templates: time 0.03593/0.2971, allocations: 31.22 MB / 0.5398 GB, free: 5.648 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8722658907063305]