Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.001402/0.001402, allocations: 80.75 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.9695/0.9695, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001189/0.001189, allocations: 156.6 kB / 257 MB, free: 12.96 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.02571/0.02571, allocations: 6.657 MB / 266.9 MB, free: 3.223 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 285.7 MB, free: 452 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.355e-05, allocations: 5.266 kB / 285.7 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1223/0.1224, allocations: 24 MB / 309.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.1366, allocations: 8.34 MB / 318 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.1414, allocations: 203 kB / 318.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008846/0.1502, allocations: 6.489 MB / 324.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008026/0.1583, allocations: 2.877 MB / 327.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.1616, allocations: 1.638 MB / 329.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007908/0.1695, allocations: 7.645 MB / 336.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.1806, allocations: 9.297 MB / 346.2 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007433/0.188, allocations: 5.776 MB / 352 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005284/0.1933, allocations: 4.089 MB / 356 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002137/0.1954, allocations: 1.062 MB / 357.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.1986, allocations: 1.448 MB / 358.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.2006, allocations: 2.217 MB / 360.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004142/0.2047, allocations: 2.784 MB / 363.6 MB, free: 464 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.2133, allocations: 6.988 MB / 370.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2133, allocations: 3.984 kB / 370.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2133, allocations: 0 / 370.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.2135, allocations: 0 / 370.5 MB, free: 9.438 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01616/0.2297, allocations: 8.406 MB / 379 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2297, allocations: 8.031 kB / 379 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/0.2491, allocations: 4.546 MB / 383.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006954/0.256, allocations: 2.533 MB / 386 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007055/0.2567, allocations: 489.1 kB / 386.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/0.2585, allocations: 0.6249 MB / 387.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.2691, allocations: 5.273 MB / 392.4 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.2692, allocations: 11.94 kB / 392.4 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004639/0.2697, allocations: 264 kB / 392.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/0.27, allocations: 417.7 kB / 393.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/0.275, allocations: 2.74 MB / 395.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.3019, allocations: 21 MB / 416.8 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005256/0.3071, allocations: 4.055 MB / 420.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009623/0.3081, allocations: 0.7894 MB / 421.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.3083, allocations: 110.2 kB / 421.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.3083, allocations: 64.89 kB / 421.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.26e-06/0.3083, allocations: 0 / 421.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.008282/0.3166, allocations: 4.64 MB / 426.5 MB, free: 320 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3167, allocations: 85.77 kB / 426.6 MB, free: 220 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1402/0.4569, allocations: 1.947 MB / 428.5 MB, free: 79.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004714/0.4574, allocations: 74.88 kB / 428.6 MB, free: 79.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4587, allocations: 2.73 MB / 431.3 MB, free: 78.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008777/0.4596, allocations: 1.075 MB / 432.4 MB, free: 78.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.4606, allocations: 0.8395 MB / 433.2 MB, free: 78.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.4607, allocations: 307.7 kB / 433.5 MB, free: 77.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4617, allocations: 0.5777 MB / 434.1 MB, free: 77.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.4632, allocations: 2.196 MB / 436.3 MB, free: 75.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.4663, allocations: 3.193 MB / 439.5 MB, free: 73.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.906e-05/0.4664, allocations: 16.44 kB / 439.5 MB, free: 73.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004241/0.4706, allocations: 2.989 MB / 442.5 MB, free: 73.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.4706, allocations: 28.66 kB / 442.5 MB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-05/0.4707, allocations: 53.69 kB / 442.6 MB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.4718, allocations: 0.564 MB / 443.2 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.4738, allocations: 0.9793 MB / 444.1 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.4768, allocations: 3.198 MB / 447.3 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.4785, allocations: 172.6 kB / 447.5 MB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.4787, allocations: 184.8 kB / 447.7 MB, free: 72.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001192/0.4799, allocations: 421.2 kB / 448.1 MB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.4804, allocations: 284.4 kB / 448.4 MB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.4827, allocations: 2.09 MB / 450.5 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4827, allocations: 31.38 kB / 450.5 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4827, allocations: 3.969 kB / 450.5 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4828, allocations: 13.55 kB / 450.5 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/0.4891, allocations: 5.061 MB / 455.6 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4891, allocations: 3.812 kB / 455.6 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.49, allocations: 481.1 kB / 456 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008491/0.4909, allocations: 483.4 kB / 456.5 MB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.491, allocations: 66.22 kB / 456.6 MB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.4934, allocations: 2.888 MB / 459.5 MB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4934, allocations: 14.47 kB / 459.5 MB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.4962, allocations: 2.475 MB / 462 MB, free: 68.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007169/0.4969, allocations: 384 kB / 462.3 MB, free: 68.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.4971, allocations: 61.91 kB / 462.4 MB, free: 68.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.4978, allocations: 71.88 kB / 462.5 MB, free: 68.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.4981, allocations: 217.2 kB / 462.7 MB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.4982, allocations: 69.34 kB / 462.7 MB, free: 68.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008261/0.499, allocations: 0.8865 MB / 463.6 MB, free: 67.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.499, allocations: 3.375 kB / 463.6 MB, free: 67.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002666/0.5017, allocations: 1.168 MB / 464.8 MB, free: 66.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003521/0.5021, allocations: 208.6 kB / 465 MB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.5049, allocations: 2.384 MB / 467.4 MB, free: 64.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.169e-05/0.505, allocations: 55.94 kB / 467.4 MB, free: 64.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.5061, allocations: 1.189 MB / 468.6 MB, free: 63.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.5076, allocations: 0.5946 MB / 469.2 MB, free: 63.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5182, allocations: 9.183 MB / 478.4 MB, free: 55.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.5192, allocations: 1.217 MB / 479.6 MB, free: 54.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001401/0.5206, allocations: 0.5424 MB / 480.2 MB, free: 54.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.5217, allocations: 0.6648 MB / 480.8 MB, free: 53.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/0.5217, allocations: 0 / 480.8 MB, free: 53.44 MB / 378.7 MB Notification: Performance of Templates: time 0.0558/0.5775, allocations: 46.84 MB / 0.5153 GB, free: 7.43 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.001008624210954]