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.000946/0.000946, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 1.048/1.048, allocations: 177.2 MB / 200.5 MB, free: 5.555 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.001808/0.001808, allocations: 168.6 kB / 257 MB, free: 13.05 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.02332/0.02332, allocations: 6.664 MB / 320.1 MB, free: 26.6 MB / 266.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.744e-06/1.744e-06, allocations: 0 / 391.7 MB, free: 2.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.68e-05, allocations: 18.19 kB / 391.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1692/0.1692, allocations: 24.6 MB / 416.3 MB, free: 69.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1826, allocations: 7.995 MB / 424.3 MB, free: 67.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.1858, allocations: 205.1 kB / 424.5 MB, free: 67.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006801/0.1926, allocations: 6.437 MB / 430.9 MB, free: 64.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004686/0.1972, allocations: 2.845 MB / 433.8 MB, free: 62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1995, allocations: 1.66 MB / 435.5 MB, free: 60.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004827/0.2043, allocations: 7.63 MB / 443.1 MB, free: 55.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006686/0.211, allocations: 9.022 MB / 452.1 MB, free: 46.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003573/0.2146, allocations: 5.694 MB / 457.8 MB, free: 41.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.2171, allocations: 3.984 MB / 461.8 MB, free: 37.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.2177, allocations: 1.07 MB / 462.9 MB, free: 36.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.2192, allocations: 1.452 MB / 464.3 MB, free: 34.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008728/0.2201, allocations: 2.225 MB / 466.5 MB, free: 32.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.2217, allocations: 2.803 MB / 469.3 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.227, allocations: 7.011 MB / 476.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.227, allocations: 0 / 476.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.227, allocations: 0 / 476.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.2271, allocations: 0 / 476.3 MB, free: 22.68 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.011/0.2381, allocations: 9.382 MB / 485.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2382, allocations: 12.03 kB / 485.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/0.2524, allocations: 5.491 MB / 491.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/0.2577, allocations: 4.448 MB / 495.7 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.2579, allocations: 481.1 kB / 496.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007386/0.2586, allocations: 0.6327 MB / 496.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008449/0.267, allocations: 5.653 MB / 0.4907 GB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-05/0.2671, allocations: 7.953 kB / 0.4907 GB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004625/0.2676, allocations: 268 kB / 0.4909 GB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000273/0.2679, allocations: 425.6 kB / 0.4913 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/0.274, allocations: 3.332 MB / 0.4946 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/0.2999, allocations: 27.44 MB / 0.5214 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007279/0.3072, allocations: 6.154 MB / 0.5274 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3086, allocations: 1.03 MB / 0.5284 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.3087, allocations: 102.2 kB / 0.5285 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3088, allocations: 67.66 kB / 0.5286 GB, free: 5.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.548e-06/0.3088, allocations: 0 / 0.5286 GB, free: 5.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01041/0.3192, allocations: 6.407 MB / 0.5348 GB, free: 14.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3192, allocations: 85.78 kB / 0.5349 GB, free: 14.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.3217, allocations: 2.57 MB / 0.5374 GB, free: 12.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.3219, allocations: 73.7 kB / 0.5375 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.3234, allocations: 3.122 MB / 0.5405 GB, free: 8.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005773/0.324, allocations: 1.1 MB / 0.5416 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009366/0.3249, allocations: 0.9893 MB / 0.5426 GB, free: 6.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.325, allocations: 476.8 kB / 0.543 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3261, allocations: 0.6922 MB / 0.5437 GB, free: 5.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.3285, allocations: 3.22 MB / 0.5468 GB, free: 1.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1335/0.462, allocations: 4.251 MB / 0.551 GB, free: 115.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-05/0.4621, allocations: 14.97 kB / 0.551 GB, free: 115.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006328/0.4684, allocations: 4.076 MB / 0.555 GB, free: 115.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.4684, allocations: 30.69 kB / 0.555 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/0.4685, allocations: 54.72 kB / 0.5551 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.4698, allocations: 0.6162 MB / 0.5557 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4717, allocations: 1.075 MB / 0.5567 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.4759, allocations: 4.378 MB / 0.561 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.4776, allocations: 272.5 kB / 0.5613 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.4779, allocations: 238.4 kB / 0.5615 GB, free: 112.9 MB / 394.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.001205/0.4791, allocations: 462.8 kB / 0.5619 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.4796, allocations: 408.1 kB / 0.5623 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/0.4832, allocations: 2.732 MB / 0.565 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.4832, allocations: 30.81 kB / 0.565 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4832, allocations: 6.281 kB / 0.565 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.4832, allocations: 15.94 kB / 0.565 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009615/0.4928, allocations: 7.695 MB / 0.5725 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4929, allocations: 3.938 kB / 0.5725 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4939, allocations: 0.541 MB / 0.5731 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.495, allocations: 0.5222 MB / 0.5736 GB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.4951, allocations: 77 kB / 0.5737 GB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.4985, allocations: 3.978 MB / 0.5775 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4985, allocations: 9.312 kB / 0.5776 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.5025, allocations: 3.362 MB / 0.5808 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.5032, allocations: 0.5934 MB / 0.5814 GB, free: 104.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.5034, allocations: 56 kB / 0.5815 GB, free: 104.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/0.5042, allocations: 142.4 kB / 0.5816 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.5044, allocations: 225.2 kB / 0.5818 GB, free: 104.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.941e-05/0.5045, allocations: 99.23 kB / 0.5819 GB, free: 104.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.5057, allocations: 1.252 MB / 0.5831 GB, free: 103.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5057, allocations: 0 / 0.5831 GB, free: 103.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002625/0.5083, allocations: 1.172 MB / 0.5843 GB, free: 102.1 MB / 394.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.0003293/0.5087, allocations: 227 kB / 0.5845 GB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003439/0.5121, allocations: 3.008 MB / 0.5874 GB, free: 99.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5121, allocations: 0 / 0.5874 GB, free: 99.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.5136, allocations: 1.487 MB / 0.5889 GB, free: 97.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.515, allocations: 0.6071 MB / 0.5895 GB, free: 97.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009881/0.5249, allocations: 9.431 MB / 0.5987 GB, free: 88.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009874/0.5259, allocations: 1.643 MB / 0.6003 GB, free: 87.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001627/0.5275, allocations: 1.109 MB / 0.6014 GB, free: 85.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.528, allocations: 280.4 kB / 0.6016 GB, free: 85.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.528, allocations: 0 / 0.6016 GB, free: 85.67 MB / 394.7 MB Notification: Performance of Templates: time 0.04729/0.5753, allocations: 43.08 MB / 0.6437 GB, free: 43.11 MB / 394.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.429998954990879]