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.0008965/0.0008965, allocations: 80.94 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.934/0.934, allocations: 177.2 MB / 200.3 MB, free: 5.336 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.001151/0.001151, allocations: 167.2 kB / 257 MB, free: 12.8 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.02955/0.02955, allocations: 6.653 MB / 266.9 MB, free: 3.047 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.132e-06/1.132e-06, allocations: 0 / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.513e-05, allocations: 2.312 kB / 285.7 MB, free: 304 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization1): time 0.1074/0.1074, allocations: 15.67 MB / 301.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009607/0.117, allocations: 5.684 MB / 307 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.1194, allocations: 117.6 kB / 307.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.1218, allocations: 1.251 MB / 308.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.1253, allocations: 1.63 MB / 310 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1268, allocations: 1.03 MB / 311 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003475/0.1303, allocations: 4.993 MB / 316 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.1326, allocations: 1.964 MB / 318 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.1364, allocations: 3.228 MB / 321.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.139, allocations: 2.272 MB / 323.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007902/0.1398, allocations: 0.5664 MB / 324.1 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1409, allocations: 0.7847 MB / 324.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007834/0.1417, allocations: 1.344 MB / 326.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.1435, allocations: 1.688 MB / 327.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.1471, allocations: 3.937 MB / 331.8 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1471, allocations: 4 kB / 331.8 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1471, allocations: 0 / 331.8 MB, free: 84 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.1472, allocations: 0 / 331.8 MB, free: 84 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.006124/0.1533, allocations: 4.9 MB / 336.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1534, allocations: 8.031 kB / 336.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.1562, allocations: 1.335 MB / 338.1 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.1587, allocations: 1.764 MB / 339.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.1588, allocations: 283.8 kB / 340.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.1591, allocations: 366.5 kB / 340.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.1619, allocations: 2.774 MB / 343.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/0.162, allocations: 11.88 kB / 343.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.1622, allocations: 148 kB / 343.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1623, allocations: 155.4 kB / 343.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.1639, allocations: 1.068 MB / 344.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.1743, allocations: 9.922 MB / 354.5 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.1763, allocations: 1.715 MB / 356.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.1777, allocations: 1.088 MB / 357.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003324/0.181, allocations: 2.231 MB / 359.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.181, allocations: 47.88 kB / 359.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 3.366e-06/0.181, allocations: 0 / 359.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.005606/0.1866, allocations: 3.417 MB / 363 MB, free: 220 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.1867, allocations: 72.7 kB / 363.1 MB, free: 136 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1879, allocations: 1.482 MB / 364.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.1879, allocations: 49.7 kB / 364.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/0.1886, allocations: 1.543 MB / 366.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.1889, allocations: 0.5693 MB / 366.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.1892, allocations: 399.8 kB / 367.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.1893, allocations: 305.1 kB / 367.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.1897, allocations: 247.5 kB / 367.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.1903, allocations: 1.009 MB / 368.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.1916, allocations: 1.488 MB / 370.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.1916, allocations: 19.94 kB / 370.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001791/0.1934, allocations: 1.514 MB / 371.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.1934, allocations: 15.94 kB / 371.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.1934, allocations: 28 kB / 371.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.1939, allocations: 237.2 kB / 372 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009224/0.1948, allocations: 495.2 kB / 372.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.1973, allocations: 3.513 MB / 376 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.1983, allocations: 87.89 kB / 376.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.1984, allocations: 87.98 kB / 376.2 MB, free: 2.086 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.0006714/0.1991, allocations: 264 kB / 376.4 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.1994, allocations: 187.8 kB / 376.6 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.2008, allocations: 1.084 MB / 377.7 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.2008, allocations: 19.98 kB / 377.7 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2008, allocations: 4 kB / 377.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2008, allocations: 3.984 kB / 377.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.2043, allocations: 2.479 MB / 380.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2043, allocations: 4 kB / 380.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.2049, allocations: 255.6 kB / 380.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.2053, allocations: 250.6 kB / 380.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.2054, allocations: 35.97 kB / 380.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.2084, allocations: 5.219 MB / 385.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2084, allocations: 7.984 kB / 385.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.2103, allocations: 1.449 MB / 387.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.2107, allocations: 234.5 kB / 387.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.2109, allocations: 32 kB / 387.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.2114, allocations: 59.97 kB / 387.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.2115, allocations: 113 kB / 387.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.2116, allocations: 32.05 kB / 387.9 MB, free: 5.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006105/0.2122, allocations: 0.728 MB / 388.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2122, allocations: 0 / 388.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001464/0.2136, allocations: 0.6561 MB / 389.2 MB, free: 4.543 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.000232/0.2139, allocations: 154 kB / 389.4 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.2152, allocations: 1.312 MB / 390.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-05/0.2153, allocations: 34.06 kB / 390.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.216, allocations: 0.9041 MB / 391.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2171, allocations: 491.3 kB / 392.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/0.2234, allocations: 5.501 MB / 397.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.224, allocations: 0.7214 MB / 398.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000715/0.2247, allocations: 310.8 kB / 398.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007814/0.2255, allocations: 0.5068 MB / 399.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2255, allocations: 0 / 399.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.1398/0.3652, allocations: 31.84 MB / 431 MB, free: 99.5 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.234295913949609]