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.001354/0.001354, 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 0.9683/0.9683, allocations: 177.1 MB / 200 MB, free: 5.508 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.001181/0.001181, allocations: 156.7 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.02353/0.02353, allocations: 6.66 MB / 319.8 MB, free: 26.54 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 1.803e-06/1.803e-06, allocations: 0 / 391.7 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.72e-05, allocations: 2.312 kB / 391.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.01897/0.019, allocations: 16.05 MB / 407.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1347/0.1537, allocations: 5.485 MB / 413.2 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.1554, allocations: 116.5 kB / 413.3 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.1578, allocations: 1.221 MB / 414.5 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.1608, allocations: 1.633 MB / 416.2 MB, free: 69.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.1624, allocations: 1.02 MB / 417.2 MB, free: 69.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.1663, allocations: 4.974 MB / 422.2 MB, free: 66.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.1685, allocations: 1.922 MB / 424.1 MB, free: 65.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.1716, allocations: 3.22 MB / 427.3 MB, free: 64.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.1742, allocations: 2.252 MB / 429.5 MB, free: 63.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008427/0.175, allocations: 0.57 MB / 430.1 MB, free: 63.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.176, allocations: 0.7923 MB / 430.9 MB, free: 63.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000615/0.1767, allocations: 1.352 MB / 432.3 MB, free: 62.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.1781, allocations: 1.68 MB / 433.9 MB, free: 61.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.1807, allocations: 3.952 MB / 437.9 MB, free: 58.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1808, allocations: 0 / 437.9 MB, free: 58.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1808, allocations: 0 / 437.9 MB, free: 58.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.1808, allocations: 0 / 437.9 MB, free: 58.28 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.005297/0.1861, allocations: 5.28 MB / 443.2 MB, free: 52.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1861, allocations: 8.031 kB / 443.2 MB, free: 52.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.1889, allocations: 1.45 MB / 444.6 MB, free: 51.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.1915, allocations: 2.699 MB / 447.3 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.1916, allocations: 279.8 kB / 447.6 MB, free: 48.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.1919, allocations: 371.5 kB / 448 MB, free: 48.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.1952, allocations: 2.949 MB / 450.9 MB, free: 45.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/0.1952, allocations: 7.562 kB / 450.9 MB, free: 45.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.1954, allocations: 151.9 kB / 451.1 MB, free: 44.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-05/0.1955, allocations: 159.4 kB / 451.2 MB, free: 44.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.1979, allocations: 1.401 MB / 452.6 MB, free: 43.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00975/0.2076, allocations: 12.58 MB / 465.2 MB, free: 30.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.2098, allocations: 2.021 MB / 467.2 MB, free: 28.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.2112, allocations: 1.252 MB / 468.5 MB, free: 27.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002891/0.2141, allocations: 2.874 MB / 471.4 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2141, allocations: 54.7 kB / 471.4 MB, free: 24.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.304e-06/0.2141, allocations: 0 / 471.4 MB, free: 24.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.005411/0.2195, allocations: 4.222 MB / 475.6 MB, free: 20.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2196, allocations: 68.72 kB / 475.7 MB, free: 20.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.221, allocations: 1.78 MB / 477.5 MB, free: 18.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.221, allocations: 49.7 kB / 477.5 MB, free: 18.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/0.2217, allocations: 1.906 MB / 479.4 MB, free: 16.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.2219, allocations: 0.5863 MB / 480 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.2223, allocations: 430 kB / 480.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.2223, allocations: 480.7 kB / 480.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.2228, allocations: 324.2 kB / 481.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.2236, allocations: 1.432 MB / 482.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.2249, allocations: 1.94 MB / 484.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.2249, allocations: 8 kB / 484.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002125/0.227, allocations: 2.031 MB / 486.6 MB, free: 8.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.2271, allocations: 16 kB / 486.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.2271, allocations: 24 kB / 486.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.2276, allocations: 259.1 kB / 486.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.2285, allocations: 0.4953 MB / 487.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.2308, allocations: 5.059 MB / 492.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.2315, allocations: 91.89 kB / 492.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.2316, allocations: 112 kB / 492.7 MB, free: 1.906 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.0004881/0.232, allocations: 303.8 kB / 493 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.2322, allocations: 278.5 kB / 493.3 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.2339, allocations: 1.41 MB / 494.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.2339, allocations: 16 kB / 494.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2339, allocations: 4 kB / 494.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2339, allocations: 7.969 kB / 494.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/0.2384, allocations: 3.991 MB / 498.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2384, allocations: 0 / 498.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.239, allocations: 263.7 kB / 498.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.2395, allocations: 274.8 kB / 499.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.2396, allocations: 39.98 kB / 499.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.2435, allocations: 7.287 MB / 0.4947 GB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2435, allocations: 8.031 kB / 0.4947 GB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.2458, allocations: 1.914 MB / 0.4965 GB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.2463, allocations: 394.3 kB / 0.4969 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.2464, allocations: 31.94 kB / 0.4969 GB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.2469, allocations: 67.95 kB / 0.497 GB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.247, allocations: 117.1 kB / 0.4971 GB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.2471, allocations: 47.98 kB / 0.4972 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.2481, allocations: 0.9867 MB / 0.4981 GB, free: 15.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2481, allocations: 0 / 0.4981 GB, free: 15.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001289/0.2494, allocations: 0.6523 MB / 0.4988 GB, free: 15.32 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.0002391/0.2496, allocations: 172.3 kB / 0.4989 GB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.2515, allocations: 1.656 MB / 0.5005 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2515, allocations: 8.25 kB / 0.5006 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.2525, allocations: 1.182 MB / 0.5017 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.2537, allocations: 0.4928 MB / 0.5022 GB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.2598, allocations: 5.71 MB / 0.5078 GB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.2604, allocations: 0.8776 MB / 0.5086 GB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007651/0.2611, allocations: 438.5 kB / 0.509 GB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.2614, allocations: 148.5 kB / 0.5092 GB, free: 4.449 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2614, allocations: 3.938 kB / 0.5092 GB, free: 4.445 MB / 362.7 MB Notification: Performance of Templates: time 0.03327/0.2947, allocations: 29.72 MB / 0.5382 GB, free: 7.195 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.680255164857954]