Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001492/0.001492, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.05/1.05, allocations: 177.1 MB / 200.5 MB, free: 5.832 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.001792/0.001792, allocations: 168.6 kB / 257 MB, free: 13.2 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.02446/0.02446, allocations: 6.654 MB / 320.1 MB, free: 26.57 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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 391.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.049e-05, allocations: 6.25 kB / 391.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.1459/0.146, allocations: 24.51 MB / 416.2 MB, free: 68.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.16, allocations: 7.991 MB / 424.2 MB, free: 67.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004435/0.1644, allocations: 204.5 kB / 424.4 MB, free: 67.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009568/0.174, allocations: 6.421 MB / 430.8 MB, free: 64.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.1812, allocations: 2.854 MB / 433.7 MB, free: 61.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.1845, allocations: 1.644 MB / 435.3 MB, free: 60.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007596/0.192, allocations: 7.629 MB / 442.9 MB, free: 55.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.2029, allocations: 9.023 MB / 451.9 MB, free: 46.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007175/0.2101, allocations: 5.71 MB / 457.7 MB, free: 41.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005137/0.2153, allocations: 3.98 MB / 461.6 MB, free: 37.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002013/0.2173, allocations: 1.074 MB / 462.7 MB, free: 36.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.2204, allocations: 1.452 MB / 464.2 MB, free: 34.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.222, allocations: 2.225 MB / 466.4 MB, free: 32.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003639/0.2256, allocations: 2.799 MB / 469.2 MB, free: 29.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007995/0.2336, allocations: 7.003 MB / 476.2 MB, free: 22.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2336, allocations: 0 / 476.2 MB, free: 22.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2336, allocations: 0 / 476.2 MB, free: 22.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001857/0.2338, allocations: 3.938 kB / 476.2 MB, free: 22.59 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.01443/0.2482, allocations: 9.393 MB / 485.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.2483, allocations: 8.031 kB / 485.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.2637, allocations: 5.487 MB / 491.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/0.2696, allocations: 4.445 MB / 495.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.2698, allocations: 481.1 kB / 496 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007571/0.2706, allocations: 0.6327 MB / 496.6 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008641/0.2792, allocations: 5.653 MB / 0.4905 GB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.2793, allocations: 15.88 kB / 0.4905 GB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004604/0.2798, allocations: 272 kB / 0.4908 GB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004621/0.2802, allocations: 422.3 kB / 0.4912 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00649/0.2867, allocations: 3.328 MB / 0.4944 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.3198, allocations: 27.45 MB / 0.5212 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.3281, allocations: 6.151 MB / 0.5272 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.33, allocations: 1.03 MB / 0.5283 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.3302, allocations: 102.2 kB / 0.5284 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.3302, allocations: 67.72 kB / 0.5284 GB, free: 5.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.781e-06/0.3302, allocations: 0 / 0.5284 GB, free: 5.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01172/0.342, allocations: 6.411 MB / 0.5347 GB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.342, allocations: 85.78 kB / 0.5348 GB, free: 14.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.345, allocations: 2.566 MB / 0.5373 GB, free: 12.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.3451, allocations: 73.7 kB / 0.5373 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.3471, allocations: 3.122 MB / 0.5404 GB, free: 8.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007884/0.3478, allocations: 1.1 MB / 0.5415 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009959/0.3488, allocations: 0.9854 MB / 0.5424 GB, free: 6.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3489, allocations: 484.7 kB / 0.5429 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.3503, allocations: 0.6922 MB / 0.5436 GB, free: 5.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.3532, allocations: 3.224 MB / 0.5467 GB, free: 1.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.131/0.4842, allocations: 4.25 MB / 0.5509 GB, free: 115.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/0.4842, allocations: 15.84 kB / 0.5509 GB, free: 115.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006705/0.4909, allocations: 4.079 MB / 0.5549 GB, free: 115.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.491, allocations: 30.12 kB / 0.5549 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-05/0.491, allocations: 54.5 kB / 0.5549 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.4924, allocations: 0.613 MB / 0.5555 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.4944, allocations: 1.074 MB / 0.5566 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.4988, allocations: 4.375 MB / 0.5609 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.5008, allocations: 278.3 kB / 0.5611 GB, free: 113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.5011, allocations: 233.4 kB / 0.5613 GB, free: 113 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.001383/0.5024, allocations: 467 kB / 0.5618 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/0.503, allocations: 406.9 kB / 0.5622 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.507, allocations: 2.727 MB / 0.5648 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.507, allocations: 31.25 kB / 0.5649 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5071, allocations: 11.16 kB / 0.5649 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.5071, allocations: 15.66 kB / 0.5649 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009876/0.5169, allocations: 7.69 MB / 0.5724 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.517, allocations: 6.281 kB / 0.5724 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.518, allocations: 0.538 MB / 0.5729 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.5191, allocations: 0.519 MB / 0.5734 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.5192, allocations: 73.11 kB / 0.5735 GB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.5226, allocations: 3.988 MB / 0.5774 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.5226, allocations: 9.656 kB / 0.5774 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/0.5271, allocations: 3.364 MB / 0.5807 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009274/0.528, allocations: 0.5925 MB / 0.5813 GB, free: 104.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.5283, allocations: 60 kB / 0.5813 GB, free: 104.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/0.5291, allocations: 146.8 kB / 0.5815 GB, free: 104.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.5294, allocations: 218.6 kB / 0.5817 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5295, allocations: 91.7 kB / 0.5818 GB, free: 104.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001386/0.5309, allocations: 1.253 MB / 0.583 GB, free: 103.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5309, allocations: 0 / 0.583 GB, free: 103.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002872/0.5338, allocations: 1.168 MB / 0.5841 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.0003752/0.5341, allocations: 229.7 kB / 0.5844 GB, free: 101.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.538, allocations: 3.014 MB / 0.5873 GB, free: 99.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.538, allocations: 0 / 0.5873 GB, free: 99.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.5396, allocations: 1.486 MB / 0.5888 GB, free: 97.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5411, allocations: 0.6077 MB / 0.5893 GB, free: 97.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.5524, allocations: 9.433 MB / 0.5986 GB, free: 88.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.5535, allocations: 1.639 MB / 0.6002 GB, free: 86.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001885/0.5554, allocations: 1.105 MB / 0.6012 GB, free: 85.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.556, allocations: 280.4 kB / 0.6015 GB, free: 85.57 MB / 394.7 MB Notification: Performance of SimCode: time 2.645e-06/0.556, allocations: 0 / 0.6015 GB, free: 85.57 MB / 394.7 MB Notification: Performance of Templates: time 0.05037/0.6063, allocations: 43.08 MB / 0.6436 GB, free: 43 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.508283055853099]