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.0009271/0.0009271, allocations: 80.81 kB / 19.94 MB, free: 4.539 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 0.9464/0.9464, allocations: 177.2 MB / 200.3 MB, free: 5.383 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.001177/0.001177, allocations: 163.7 kB / 257 MB, free: 12.83 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.0243/0.0243, allocations: 6.657 MB / 266.9 MB, free: 3.078 MB / 250.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.242e-06/1.242e-06, allocations: 0 / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.577e-05, allocations: 6.25 kB / 285.7 MB, free: 296 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.1223/0.1224, allocations: 15.73 MB / 301.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009712/0.1321, allocations: 5.675 MB / 307.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.1348, allocations: 115.6 kB / 307.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1378, allocations: 1.264 MB / 308.5 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.1422, allocations: 1.624 MB / 310.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.1442, allocations: 1.018 MB / 311.1 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.1487, allocations: 4.989 MB / 316.1 MB, free: 56 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.1517, allocations: 1.968 MB / 318.1 MB, free: 14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005034/0.1567, allocations: 3.236 MB / 321.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.1602, allocations: 2.26 MB / 323.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.1615, allocations: 0.5664 MB / 324.1 MB, free: 7.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.1636, allocations: 0.8003 MB / 324.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.1648, allocations: 1.348 MB / 326.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.1675, allocations: 1.68 MB / 328 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005608/0.1732, allocations: 3.946 MB / 331.9 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1732, allocations: 0 / 331.9 MB, free: 136 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1732, allocations: 0 / 331.9 MB, free: 136 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.1733, allocations: 7.938 kB / 331.9 MB, free: 128 kB / 282.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.007515/0.1808, allocations: 4.896 MB / 336.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1809, allocations: 8.031 kB / 336.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.1843, allocations: 1.335 MB / 338.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.1876, allocations: 1.765 MB / 339.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.1878, allocations: 279.8 kB / 340.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004813/0.1883, allocations: 360.4 kB / 340.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.1923, allocations: 2.774 MB / 343.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/0.1924, allocations: 11.89 kB / 343.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.1926, allocations: 148 kB / 343.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.1927, allocations: 155.4 kB / 343.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.1949, allocations: 1.073 MB / 344.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.2097, allocations: 9.911 MB / 354.6 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.2119, allocations: 1.722 MB / 356.3 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.2136, allocations: 1.1 MB / 357.4 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00396/0.2176, allocations: 2.226 MB / 359.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2176, allocations: 43.88 kB / 359.7 MB, free: 3.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 3.216e-06/0.2176, allocations: 4 kB / 359.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.006281/0.2239, allocations: 3.421 MB / 363.1 MB, free: 280 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2239, allocations: 76.66 kB / 363.2 MB, free: 192 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.2256, allocations: 1.475 MB / 364.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.2258, allocations: 53.7 kB / 364.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/0.2264, allocations: 1.543 MB / 366.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.2268, allocations: 0.5732 MB / 366.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.2271, allocations: 395.8 kB / 367.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.2272, allocations: 305.1 kB / 367.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.2276, allocations: 243.5 kB / 367.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.2282, allocations: 1.013 MB / 368.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.2294, allocations: 1.496 MB / 370.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.2295, allocations: 8 kB / 370.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00226/0.2317, allocations: 1.501 MB / 371.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.2317, allocations: 21.66 kB / 371.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.2318, allocations: 24 kB / 371.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.2323, allocations: 250.9 kB / 372.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.2335, allocations: 0.5382 MB / 372.6 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.2362, allocations: 3.539 MB / 376.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2373, allocations: 87.89 kB / 376.3 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2374, allocations: 88.02 kB / 376.3 MB, free: 2.066 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.0007566/0.2382, allocations: 256 kB / 376.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.2385, allocations: 183.8 kB / 376.8 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.2399, allocations: 1.084 MB / 377.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.2399, allocations: 16 kB / 377.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002713/0.2402, allocations: 4 kB / 377.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2402, allocations: 7.969 kB / 377.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.2437, allocations: 2.479 MB / 380.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.2437, allocations: 4 kB / 380.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008518/0.2446, allocations: 365.8 kB / 380.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.245, allocations: 248.9 kB / 381 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.2451, allocations: 35.98 kB / 381 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.2487, allocations: 5.189 MB / 386.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2487, allocations: 0 / 386.2 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2506, allocations: 1.441 MB / 387.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.2511, allocations: 230.5 kB / 387.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.2513, allocations: 39.98 kB / 387.9 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.2517, allocations: 51.92 kB / 387.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.2519, allocations: 113.1 kB / 388.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.252, allocations: 35.98 kB / 388.1 MB, free: 5.883 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007051/0.2527, allocations: 0.7163 MB / 388.8 MB, free: 5.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2527, allocations: 0 / 388.8 MB, free: 5.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001739/0.2544, allocations: 0.6562 MB / 389.5 MB, free: 4.484 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.0002774/0.2547, allocations: 156.1 kB / 389.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.2563, allocations: 1.316 MB / 390.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.049e-05/0.2564, allocations: 25.81 kB / 391 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.2573, allocations: 0.9012 MB / 391.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.259, allocations: 0.4995 MB / 392.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.2667, allocations: 5.497 MB / 397.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.2674, allocations: 0.7176 MB / 398.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009827/0.2684, allocations: 306.9 kB / 398.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.2695, allocations: 0.5146 MB / 399.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2695, allocations: 0 / 399.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.1472/0.4167, allocations: 32.04 MB / 431.4 MB, free: 99.74 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3314515156671405]