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.001165/0.001165, allocations: 92.22 kB / 19.65 MB, free: 276 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.9636/0.9636, allocations: 177.2 MB / 200 MB, free: 5.547 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.001256/0.001256, allocations: 156.6 kB / 256.6 MB, free: 13.02 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.02291/0.02291, allocations: 6.654 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_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 1.613e-06/1.613e-06, allocations: 0 / 391.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.481e-05, allocations: 5.969 kB / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.0125/0.01253, allocations: 16.13 MB / 407.8 MB, free: 2.344 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1432, allocations: 5.478 MB / 413.3 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.1459, allocations: 115.7 kB / 413.4 MB, free: 69.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.1489, allocations: 1.219 MB / 414.6 MB, free: 69.4 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.1531, allocations: 1.626 MB / 416.3 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.1552, allocations: 1.027 MB / 417.3 MB, free: 69.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005413/0.1606, allocations: 4.977 MB / 422.3 MB, free: 66.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.1635, allocations: 1.914 MB / 424.2 MB, free: 65.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005219/0.1687, allocations: 3.222 MB / 427.4 MB, free: 64.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.1729, allocations: 2.257 MB / 429.6 MB, free: 63.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.1742, allocations: 0.5708 MB / 430.2 MB, free: 63.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.1763, allocations: 0.7806 MB / 431 MB, free: 63.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000968/0.1773, allocations: 1.351 MB / 432.3 MB, free: 62.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.1798, allocations: 1.681 MB / 434 MB, free: 61.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.1846, allocations: 3.943 MB / 438 MB, free: 58.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1846, allocations: 0 / 438 MB, free: 58.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1846, allocations: 0 / 438 MB, free: 58.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000153/0.1848, allocations: 0 / 438 MB, free: 58.25 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.008274/0.1931, allocations: 5.272 MB / 443.2 MB, free: 52.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1931, allocations: 8.031 kB / 443.3 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/0.1974, allocations: 1.451 MB / 444.7 MB, free: 51.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.2015, allocations: 2.704 MB / 447.4 MB, free: 48.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.2017, allocations: 282.2 kB / 447.7 MB, free: 48.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.2021, allocations: 366 kB / 448 MB, free: 48.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.2069, allocations: 2.954 MB / 451 MB, free: 45.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.25e-05/0.207, allocations: 0 / 451 MB, free: 45.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.2072, allocations: 159.1 kB / 451.2 MB, free: 44.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.2074, allocations: 155.3 kB / 451.3 MB, free: 44.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/0.2106, allocations: 1.397 MB / 452.7 MB, free: 43.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.2247, allocations: 12.59 MB / 465.3 MB, free: 30.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.227, allocations: 2.022 MB / 467.3 MB, free: 28.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.2285, allocations: 1.248 MB / 468.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003587/0.2321, allocations: 2.877 MB / 471.4 MB, free: 24.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2321, allocations: 50.69 kB / 471.5 MB, free: 24.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 2.955e-06/0.2321, allocations: 0 / 471.5 MB, free: 24.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=159): time 0.006084/0.2382, allocations: 4.22 MB / 475.7 MB, free: 20.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.2382, allocations: 64.72 kB / 475.8 MB, free: 20.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.2397, allocations: 1.792 MB / 477.6 MB, free: 18.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.2398, allocations: 49.7 kB / 477.6 MB, free: 18.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.2404, allocations: 1.905 MB / 479.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.2406, allocations: 0.5799 MB / 480.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.241, allocations: 434 kB / 480.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.241, allocations: 484.7 kB / 481 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.2415, allocations: 316.2 kB / 481.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.2422, allocations: 1.44 MB / 482.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.2436, allocations: 1.93 MB / 484.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.2436, allocations: 8 kB / 484.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.002343/0.246, allocations: 2.026 MB / 486.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.246, allocations: 16 kB / 486.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.246, allocations: 24 kB / 486.7 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/0.2466, allocations: 255.5 kB / 487 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.2475, allocations: 0.4953 MB / 487.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.2499, allocations: 5.066 MB / 492.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.2509, allocations: 99.91 kB / 492.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/0.251, allocations: 100 kB / 492.7 MB, free: 1.895 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.0007148/0.2517, allocations: 307.8 kB / 493.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.252, allocations: 278.5 kB / 493.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.2537, allocations: 1.414 MB / 494.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.2537, allocations: 12 kB / 494.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2537, allocations: 8 kB / 494.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2537, allocations: 7.969 kB / 494.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.2599, allocations: 3.984 MB / 498.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.2599, allocations: 4 kB / 498.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/0.2606, allocations: 259.8 kB / 499 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006633/0.2613, allocations: 278.2 kB / 499.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.2614, allocations: 35.98 kB / 499.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.2662, allocations: 7.301 MB / 0.4947 GB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2662, allocations: 4 kB / 0.4947 GB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.2691, allocations: 1.91 MB / 0.4966 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.2698, allocations: 398.4 kB / 0.497 GB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.27, allocations: 39.94 kB / 0.497 GB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.2705, allocations: 55.97 kB / 0.4971 GB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.2708, allocations: 125.1 kB / 0.4972 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.2708, allocations: 39.98 kB / 0.4972 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.2721, allocations: 0.9866 MB / 0.4982 GB, free: 15.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2721, allocations: 0 / 0.4982 GB, free: 15.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001675/0.2738, allocations: 0.6601 MB / 0.4988 GB, free: 15.3 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.0002884/0.2741, allocations: 169.4 kB / 0.499 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.2764, allocations: 1.651 MB / 0.5006 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2764, allocations: 0 / 0.5006 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.2775, allocations: 1.191 MB / 0.5018 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.2789, allocations: 0.4916 MB / 0.5023 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008335/0.2872, allocations: 5.725 MB / 0.5079 GB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000826/0.2881, allocations: 0.8815 MB / 0.5087 GB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001231/0.2893, allocations: 430.5 kB / 0.5091 GB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.2896, allocations: 152.5 kB / 0.5093 GB, free: 4.426 MB / 362.7 MB Notification: Performance of SimCode: time 2.174e-06/0.2896, allocations: 4 kB / 0.5093 GB, free: 4.422 MB / 362.7 MB Notification: Performance of Templates: time 0.04755/0.3372, allocations: 31.21 MB / 0.5398 GB, free: 5.668 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.732922516297549]