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.000892/0.000892, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.9098/0.9098, 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.001287/0.001287, allocations: 160.2 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.02392/0.02392, allocations: 6.655 MB / 266.9 MB, free: 3.082 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_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.092e-06/1.092e-06, allocations: 0 / 285.7 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.559e-05, allocations: 5.406 kB / 285.7 MB, free: 272 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization2): time 0.1177/0.1177, allocations: 15.74 MB / 301.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008076/0.1258, allocations: 5.672 MB / 307.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1272, allocations: 114.7 kB / 307.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.1291, allocations: 1.275 MB / 308.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.1314, allocations: 1.623 MB / 310.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1326, allocations: 1.021 MB / 311.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.1351, allocations: 4.988 MB / 316.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.1368, allocations: 1.968 MB / 318.1 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.1396, allocations: 3.224 MB / 321.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.1423, allocations: 2.272 MB / 323.6 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009221/0.1432, allocations: 0.5664 MB / 324.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009547/0.1442, allocations: 0.7964 MB / 325 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009268/0.1451, allocations: 1.348 MB / 326.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.1463, allocations: 1.684 MB / 328 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.1491, allocations: 3.945 MB / 332 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1491, allocations: 0 / 332 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1491, allocations: 0 / 332 MB, free: 8 kB / 282.7 MB Notification: Performance of Transformations before backend: time 2.71e-05/0.1491, allocations: 0 / 332 MB, free: 8 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.00567/0.1548, allocations: 4.899 MB / 336.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.1548, allocations: 8.031 kB / 336.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.1578, allocations: 1.331 MB / 338.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.1604, allocations: 1.775 MB / 340 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.1605, allocations: 275.8 kB / 340.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.1608, allocations: 368.3 kB / 340.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/0.1635, allocations: 2.77 MB / 343.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/0.1636, allocations: 7.891 kB / 343.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.1638, allocations: 156 kB / 343.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/0.1639, allocations: 151.4 kB / 343.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.1655, allocations: 1.068 MB / 344.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009918/0.1754, allocations: 9.915 MB / 354.7 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.1773, allocations: 1.719 MB / 356.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.1786, allocations: 1.092 MB / 357.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002897/0.1815, allocations: 2.235 MB / 359.7 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1815, allocations: 51.88 kB / 359.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 3.246e-06/0.1815, allocations: 3.984 kB / 359.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.005399/0.1869, allocations: 3.425 MB / 363.2 MB, free: 124 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.187, allocations: 68.72 kB / 363.3 MB, free: 44 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.188, allocations: 1.478 MB / 364.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.1881, allocations: 49.7 kB / 364.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005844/0.1887, allocations: 1.543 MB / 366.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.1889, allocations: 0.5693 MB / 366.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.1893, allocations: 403.8 kB / 367.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.1894, allocations: 305.1 kB / 367.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.1897, allocations: 247.5 kB / 367.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009852/0.1907, allocations: 1.002 MB / 368.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.1918, allocations: 1.5 MB / 370.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1918, allocations: 4 kB / 370.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001624/0.1934, allocations: 1.505 MB / 371.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1934, allocations: 24.62 kB / 371.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.1934, allocations: 24 kB / 371.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.1939, allocations: 234 kB / 372.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.1949, allocations: 0.5421 MB / 372.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.1975, allocations: 3.541 MB / 376.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/0.1982, allocations: 92.06 kB / 376.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.1982, allocations: 79.98 kB / 376.4 MB, free: 1.934 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.0005964/0.1988, allocations: 267.9 kB / 376.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.199, allocations: 179.8 kB / 376.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.2004, allocations: 1.084 MB / 377.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.2004, allocations: 16 kB / 377.9 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2004, allocations: 8 kB / 377.9 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2004, allocations: 7.969 kB / 377.9 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.2034, allocations: 2.475 MB / 380.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2034, allocations: 0 / 380.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/0.2042, allocations: 369.8 kB / 380.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.2046, allocations: 255.2 kB / 381 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.2047, allocations: 35.98 kB / 381 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/0.2078, allocations: 5.176 MB / 386.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2078, allocations: 0 / 386.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.2093, allocations: 1.441 MB / 387.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.2097, allocations: 234.5 kB / 387.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2098, allocations: 35.98 kB / 387.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.2103, allocations: 55.92 kB / 388 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.2104, allocations: 113.1 kB / 388.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.2105, allocations: 31.98 kB / 388.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000605/0.2111, allocations: 0.7202 MB / 388.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2111, allocations: 0 / 388.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001623/0.2127, allocations: 0.6562 MB / 389.5 MB, free: 4.348 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.0002342/0.2129, allocations: 160 kB / 389.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2143, allocations: 1.312 MB / 391 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.393e-05/0.2143, allocations: 29.81 kB / 391 MB, free: 2.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.2151, allocations: 0.8966 MB / 391.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.2161, allocations: 0.4969 MB / 392.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.2223, allocations: 5.496 MB / 397.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.2229, allocations: 0.7215 MB / 398.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007507/0.2237, allocations: 306.9 kB / 398.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.2245, allocations: 0.5108 MB / 399.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2245, allocations: 0 / 399.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Templates: time 0.1442/0.3687, allocations: 32.05 MB / 431.5 MB, free: 99.7 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2272365600802004]