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.001164/0.001164, allocations: 93.06 kB / 19.65 MB, free: 280 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.9252/0.9252, allocations: 177.2 MB / 200 MB, free: 5.535 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.001203/0.001203, allocations: 156.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.02354/0.02354, allocations: 6.662 MB / 319.8 MB, free: 26.53 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 1.593e-06/1.593e-06, allocations: 0 / 391.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.969e-05, allocations: 2.312 kB / 391.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.01571/0.01573, allocations: 16.13 MB / 407.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1195/0.1352, allocations: 5.469 MB / 413.3 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.1372, allocations: 115.9 kB / 413.4 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.1395, allocations: 1.223 MB / 414.6 MB, free: 69.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1424, allocations: 1.628 MB / 416.2 MB, free: 69.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.144, allocations: 1.021 MB / 417.3 MB, free: 69.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.1478, allocations: 4.979 MB / 422.2 MB, free: 66.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.1499, allocations: 1.917 MB / 424.2 MB, free: 65.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.1533, allocations: 3.218 MB / 427.4 MB, free: 64.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.1558, allocations: 2.257 MB / 429.6 MB, free: 63.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008586/0.1567, allocations: 0.5673 MB / 430.2 MB, free: 63.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.1578, allocations: 0.7919 MB / 431 MB, free: 63.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005611/0.1583, allocations: 1.349 MB / 432.3 MB, free: 62.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.1596, allocations: 1.688 MB / 434 MB, free: 61.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.1622, allocations: 3.946 MB / 438 MB, free: 58.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1622, allocations: 0 / 438 MB, free: 58.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1622, allocations: 0 / 438 MB, free: 58.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.99e-05/0.1623, allocations: 0 / 438 MB, free: 58.22 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.005167/0.1674, allocations: 5.276 MB / 443.3 MB, free: 52.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1675, allocations: 8.031 kB / 443.3 MB, free: 52.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.1701, allocations: 1.452 MB / 444.7 MB, free: 51.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.1726, allocations: 2.702 MB / 447.4 MB, free: 48.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.306e-05/0.1727, allocations: 283.3 kB / 447.7 MB, free: 48.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.173, allocations: 372.3 kB / 448.1 MB, free: 48.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.1761, allocations: 2.946 MB / 451 MB, free: 45.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.1762, allocations: 8 kB / 451 MB, free: 45.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.1764, allocations: 154.8 kB / 451.2 MB, free: 44.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-05/0.1764, allocations: 155.4 kB / 451.3 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.1788, allocations: 1.401 MB / 452.7 MB, free: 43.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009701/0.1885, allocations: 12.59 MB / 465.3 MB, free: 30.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.1907, allocations: 2.018 MB / 467.3 MB, free: 28.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.1922, allocations: 1.25 MB / 468.6 MB, free: 27.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002986/0.1952, allocations: 2.87 MB / 471.4 MB, free: 24.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1952, allocations: 50.7 kB / 471.5 MB, free: 24.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.604e-06/0.1952, allocations: 4 kB / 471.5 MB, free: 24.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.005653/0.2009, allocations: 4.217 MB / 475.7 MB, free: 20.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.2009, allocations: 72.66 kB / 475.8 MB, free: 20.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.2022, allocations: 1.784 MB / 477.6 MB, free: 18.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.2023, allocations: 57.7 kB / 477.6 MB, free: 18.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.2028, allocations: 1.898 MB / 479.5 MB, free: 16.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.203, allocations: 0.5845 MB / 480.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.2034, allocations: 430 kB / 480.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.2034, allocations: 480.7 kB / 481 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.2039, allocations: 320.2 kB / 481.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.2046, allocations: 1.436 MB / 482.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.206, allocations: 1.934 MB / 484.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.206, allocations: 8 kB / 484.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00212/0.2081, allocations: 2.032 MB / 486.7 MB, free: 8.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2082, allocations: 16 kB / 486.7 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.2082, allocations: 24 kB / 486.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/0.2087, allocations: 258.2 kB / 487 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.2096, allocations: 0.4992 MB / 487.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.2118, allocations: 5.06 MB / 492.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.2125, allocations: 95.92 kB / 492.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/0.2125, allocations: 99.98 kB / 492.8 MB, free: 1.859 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.0005264/0.2131, allocations: 307.8 kB / 493.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.2133, allocations: 282.5 kB / 493.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.215, allocations: 1.406 MB / 494.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.215, allocations: 19.98 kB / 494.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.215, allocations: 4 kB / 494.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.215, allocations: 7.969 kB / 494.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.2195, allocations: 3.987 MB / 498.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2195, allocations: 0 / 498.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.2201, allocations: 263.7 kB / 499 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/0.2207, allocations: 276.8 kB / 499.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.2207, allocations: 35.98 kB / 499.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.2246, allocations: 7.3 MB / 0.4948 GB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2246, allocations: 0 / 0.4948 GB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.2269, allocations: 1.913 MB / 0.4966 GB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.2273, allocations: 390.4 kB / 0.497 GB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.2275, allocations: 39.92 kB / 0.497 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.228, allocations: 63.97 kB / 0.4971 GB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.2281, allocations: 121 kB / 0.4972 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.2282, allocations: 43.98 kB / 0.4972 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.2292, allocations: 0.9906 MB / 0.4982 GB, free: 15.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2292, allocations: 0 / 0.4982 GB, free: 15.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001583/0.2308, allocations: 0.6523 MB / 0.4989 GB, free: 15.26 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.000301/0.2311, allocations: 169 kB / 0.499 GB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.2331, allocations: 1.66 MB / 0.5006 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2331, allocations: 0 / 0.5006 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.2341, allocations: 1.179 MB / 0.5018 GB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2353, allocations: 0.5036 MB / 0.5023 GB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.2418, allocations: 5.713 MB / 0.5079 GB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.2424, allocations: 0.8814 MB / 0.5087 GB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008324/0.2433, allocations: 430.5 kB / 0.5091 GB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.2435, allocations: 156.5 kB / 0.5093 GB, free: 4.391 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2435, allocations: 0 / 0.5093 GB, free: 4.391 MB / 362.7 MB Notification: Performance of Templates: time 0.03435/0.2779, allocations: 29.71 MB / 0.5383 GB, free: 7.141 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.8129044021479785]