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.001241/0.001241, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.9017/0.9017, 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.001713/0.001713, allocations: 163.2 kB / 257 MB, free: 12.81 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.0253/0.0253, allocations: 6.651 MB / 266.9 MB, free: 3.066 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_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.333e-06/1.333e-06, allocations: 0 / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.908e-05, allocations: 2.312 kB / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.1086/0.1086, allocations: 15.69 MB / 301.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008545/0.1172, allocations: 5.67 MB / 307.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.1194, allocations: 115.2 kB / 307.2 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.122, allocations: 1.254 MB / 308.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.1258, allocations: 1.634 MB / 310.1 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1274, allocations: 1.028 MB / 311.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.1311, allocations: 5.005 MB / 316.1 MB, free: 100 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.1335, allocations: 1.96 MB / 318 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.1369, allocations: 3.228 MB / 321.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.1395, allocations: 2.272 MB / 323.5 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009787/0.1405, allocations: 0.5664 MB / 324.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.142, allocations: 0.7847 MB / 324.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.1428, allocations: 1.344 MB / 326.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.1447, allocations: 1.68 MB / 327.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.1491, allocations: 3.945 MB / 331.9 MB, free: 204 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1491, allocations: 0 / 331.9 MB, free: 204 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1491, allocations: 0 / 331.9 MB, free: 204 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001512/0.1492, allocations: 0 / 331.9 MB, free: 204 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.006464/0.1557, allocations: 4.903 MB / 336.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1557, allocations: 8.031 kB / 336.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.1586, allocations: 1.323 MB / 338.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.1617, allocations: 1.775 MB / 339.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.1618, allocations: 276.7 kB / 340.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.1622, allocations: 364.4 kB / 340.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.1651, allocations: 2.77 MB / 343.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/0.1652, allocations: 19.77 kB / 343.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.1654, allocations: 152 kB / 343.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.1655, allocations: 155.3 kB / 343.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.1671, allocations: 1.074 MB / 344.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.1788, allocations: 9.908 MB / 354.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.1808, allocations: 1.715 MB / 356.3 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.1821, allocations: 1.088 MB / 357.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003402/0.1855, allocations: 2.235 MB / 359.6 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1855, allocations: 51.81 kB / 359.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 3.126e-06/0.1855, allocations: 3.938 kB / 359.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.005851/0.1914, allocations: 3.421 MB / 363.1 MB, free: 336 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1914, allocations: 68.72 kB / 363.2 MB, free: 256 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.1926, allocations: 1.474 MB / 364.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.1927, allocations: 53.7 kB / 364.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.1933, allocations: 1.543 MB / 366.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.1935, allocations: 0.5615 MB / 366.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.1939, allocations: 411.8 kB / 367.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.194, allocations: 305.1 kB / 367.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.1945, allocations: 247.5 kB / 367.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.1951, allocations: 1.006 MB / 368.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.1962, allocations: 1.492 MB / 370.2 MB, free: 8.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.1963, allocations: 12 kB / 370.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001752/0.198, allocations: 1.502 MB / 371.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.198, allocations: 20.88 kB / 371.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.1981, allocations: 24 kB / 371.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.1985, allocations: 241.1 kB / 372 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/0.1994, allocations: 487.2 kB / 372.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.2019, allocations: 3.535 MB / 376 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/0.2027, allocations: 91.89 kB / 376.1 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.2028, allocations: 76 kB / 376.2 MB, free: 2.215 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.0006442/0.2035, allocations: 276 kB / 376.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.2037, allocations: 179.8 kB / 376.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.205, allocations: 1.092 MB / 377.7 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.205, allocations: 12 kB / 377.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2051, allocations: 8 kB / 377.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2051, allocations: 11.91 kB / 377.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.2082, allocations: 2.472 MB / 380.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2082, allocations: 4.031 kB / 380.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.2088, allocations: 251.7 kB / 380.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.2092, allocations: 241.1 kB / 380.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.2093, allocations: 39.98 kB / 380.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.2125, allocations: 5.234 MB / 386 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2125, allocations: 0 / 386 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.2141, allocations: 1.441 MB / 387.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.2145, allocations: 238.5 kB / 387.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.2147, allocations: 32 kB / 387.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.2151, allocations: 51.97 kB / 387.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.2152, allocations: 125 kB / 387.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.2153, allocations: 31.98 kB / 387.9 MB, free: 6.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008507/0.2161, allocations: 0.7163 MB / 388.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2161, allocations: 0 / 388.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001473/0.2176, allocations: 0.6523 MB / 389.3 MB, free: 4.68 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.0002315/0.2179, allocations: 158 kB / 389.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.2192, allocations: 1.316 MB / 390.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-05/0.2192, allocations: 26.25 kB / 390.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.22, allocations: 0.9119 MB / 391.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.221, allocations: 496.1 kB / 392.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.2274, allocations: 5.506 MB / 397.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.228, allocations: 0.7214 MB / 398.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000746/0.2287, allocations: 306.8 kB / 398.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/0.2295, allocations: 0.5108 MB / 399.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2295, allocations: 0 / 399.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of Templates: time 0.1372/0.3666, allocations: 31.84 MB / 431 MB, free: 101.1 MB / 378.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.3789121713489294]