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.0009311/0.0009311, 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.9232/0.9232, 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.001256/0.001256, allocations: 156.5 kB / 257 MB, free: 12.97 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.02595/0.02595, allocations: 6.662 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.774e-06/1.774e-06, allocations: 0 / 285.7 MB, free: 408 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.171e-05, allocations: 5.688 kB / 285.7 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1295/0.1295, allocations: 24.04 MB / 309.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.1472, allocations: 8.346 MB / 318.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005719/0.153, allocations: 203 kB / 318.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.1638, allocations: 6.456 MB / 324.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008504/0.1723, allocations: 2.836 MB / 327.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.1759, allocations: 1.638 MB / 329.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008621/0.1846, allocations: 7.649 MB / 336.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.1981, allocations: 9.283 MB / 346.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.2083, allocations: 5.784 MB / 352 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005994/0.2143, allocations: 4.097 MB / 356.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.2166, allocations: 1.062 MB / 357.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.2201, allocations: 1.46 MB / 358.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002367/0.2225, allocations: 2.217 MB / 360.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.2276, allocations: 2.787 MB / 363.6 MB, free: 268 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009808/0.2374, allocations: 6.972 MB / 370.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2374, allocations: 4 kB / 370.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2374, allocations: 3.938 kB / 370.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000275/0.2377, allocations: 0 / 370.6 MB, free: 9.258 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.015/0.2527, allocations: 8.414 MB / 379 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2527, allocations: 8.031 kB / 379 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/0.2741, allocations: 4.543 MB / 383.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/0.2809, allocations: 2.529 MB / 386.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/0.2813, allocations: 485.1 kB / 386.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.2831, allocations: 0.6366 MB / 387.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.296, allocations: 5.269 MB / 392.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.2962, allocations: 11.88 kB / 392.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008604/0.2971, allocations: 268 kB / 392.7 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/0.2975, allocations: 413.7 kB / 393.1 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008609/0.3061, allocations: 2.74 MB / 395.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.3389, allocations: 21.01 MB / 416.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005641/0.3445, allocations: 4.055 MB / 420.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009917/0.3455, allocations: 0.7933 MB / 421.7 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.3457, allocations: 106.2 kB / 421.8 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.3458, allocations: 64.89 kB / 421.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.46e-06/0.3458, allocations: 0 / 421.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.008279/0.3541, allocations: 4.628 MB / 426.5 MB, free: 136 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3541, allocations: 89.72 kB / 426.6 MB, free: 32 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.137/0.4911, allocations: 1.952 MB / 428.6 MB, free: 79.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004922/0.4916, allocations: 76.69 kB / 428.6 MB, free: 79.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.4928, allocations: 2.725 MB / 431.4 MB, free: 78.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009699/0.4938, allocations: 1.079 MB / 432.4 MB, free: 78.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.4948, allocations: 0.8428 MB / 433.3 MB, free: 78.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.4949, allocations: 304.6 kB / 433.6 MB, free: 77.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.4959, allocations: 0.5751 MB / 434.1 MB, free: 77.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.4973, allocations: 2.192 MB / 436.3 MB, free: 75.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.5004, allocations: 3.196 MB / 439.5 MB, free: 73.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.987e-05/0.5005, allocations: 16.28 kB / 439.6 MB, free: 73.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004746/0.5052, allocations: 2.981 MB / 442.5 MB, free: 73.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.5053, allocations: 32.91 kB / 442.6 MB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/0.5053, allocations: 54.22 kB / 442.6 MB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.5065, allocations: 0.5651 MB / 443.2 MB, free: 73.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/0.5089, allocations: 1.042 MB / 444.2 MB, free: 73.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.5122, allocations: 3.233 MB / 447.5 MB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.5146, allocations: 174.7 kB / 447.6 MB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/0.5151, allocations: 185 kB / 447.8 MB, free: 72.04 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.001401/0.5165, allocations: 419.4 kB / 448.2 MB, free: 71.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/0.517, allocations: 277.6 kB / 448.5 MB, free: 71.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.5197, allocations: 2.095 MB / 450.6 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.5197, allocations: 30.25 kB / 450.6 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.5198, allocations: 9.469 kB / 450.6 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.5198, allocations: 16.05 kB / 450.6 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/0.5267, allocations: 5.046 MB / 455.7 MB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.5267, allocations: 8.625 kB / 455.7 MB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.5278, allocations: 0.4997 MB / 456.2 MB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008815/0.5286, allocations: 479.8 kB / 456.7 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.5288, allocations: 64.44 kB / 456.7 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.5314, allocations: 2.915 MB / 459.6 MB, free: 69.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5314, allocations: 7.938 kB / 459.6 MB, free: 69.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.5344, allocations: 2.474 MB / 462.1 MB, free: 68.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008536/0.5353, allocations: 385.7 kB / 462.5 MB, free: 67.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.5356, allocations: 62.41 kB / 462.6 MB, free: 67.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.5363, allocations: 71.95 kB / 462.6 MB, free: 67.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.5366, allocations: 221.8 kB / 462.8 MB, free: 67.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5367, allocations: 65.14 kB / 462.9 MB, free: 67.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008496/0.5375, allocations: 0.8922 MB / 463.8 MB, free: 67.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5375, allocations: 0 / 463.8 MB, free: 67.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002657/0.5402, allocations: 1.164 MB / 465 MB, free: 66.15 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.000348/0.5405, allocations: 220.9 kB / 465.2 MB, free: 66.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.5434, allocations: 2.377 MB / 467.6 MB, free: 64.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.748e-05/0.5435, allocations: 55.94 kB / 467.6 MB, free: 64.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.5448, allocations: 1.191 MB / 468.8 MB, free: 63.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.5464, allocations: 0.5857 MB / 469.4 MB, free: 63.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.5586, allocations: 9.204 MB / 478.6 MB, free: 55.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.5599, allocations: 1.209 MB / 479.8 MB, free: 54.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001541/0.5615, allocations: 0.5421 MB / 480.3 MB, free: 53.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.5627, allocations: 0.6695 MB / 481 MB, free: 52.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5627, allocations: 0 / 481 MB, free: 52.99 MB / 378.7 MB Notification: Performance of Templates: time 0.05709/0.6197, allocations: 46.88 MB / 0.5155 GB, free: 6.926 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.009671152103692]