Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.000906/0.000906, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.9887/0.9887, allocations: 177.2 MB / 200 MB, free: 5.547 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.001823/0.001823, allocations: 152.6 kB / 256.6 MB, free: 13.02 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.02954/0.02954, allocations: 6.659 MB / 319.8 MB, free: 26.54 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 391.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.747e-05, allocations: 6.25 kB / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.1371/0.1372, allocations: 24.78 MB / 416.5 MB, free: 68.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1508, allocations: 7.927 MB / 424.4 MB, free: 67.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.1538, allocations: 205.4 kB / 424.6 MB, free: 67.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008196/0.162, allocations: 8.115 MB / 432.7 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005667/0.1677, allocations: 3.179 MB / 435.9 MB, free: 60.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.1704, allocations: 2.059 MB / 437.9 MB, free: 58.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00633/0.1768, allocations: 9.704 MB / 447.6 MB, free: 51.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009939/0.1867, allocations: 11.24 MB / 458.9 MB, free: 39.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.1923, allocations: 7.204 MB / 466.1 MB, free: 32.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.1959, allocations: 4.982 MB / 471.1 MB, free: 27.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.1971, allocations: 1.352 MB / 472.4 MB, free: 26.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.199, allocations: 1.734 MB / 474.2 MB, free: 24.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.2001, allocations: 2.774 MB / 476.9 MB, free: 21.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00293/0.203, allocations: 3.462 MB / 480.4 MB, free: 18.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00609/0.2091, allocations: 8.624 MB / 489 MB, free: 9.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2091, allocations: 3.938 kB / 489 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2091, allocations: 0 / 489 MB, free: 9.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.971e-05/0.2092, allocations: 0 / 489 MB, free: 9.594 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.01258/0.2217, allocations: 11.46 MB / 0.4888 GB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2218, allocations: 8.031 kB / 0.4888 GB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.239, allocations: 7.049 MB / 0.4956 GB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00815/0.2471, allocations: 5.621 MB / 0.5011 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.2474, allocations: 0.578 MB / 0.5017 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009712/0.2484, allocations: 0.7617 MB / 0.5024 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.2595, allocations: 6.911 MB / 0.5092 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.2596, allocations: 11.95 kB / 0.5092 GB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005582/0.2601, allocations: 320 kB / 0.5095 GB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003348/0.2605, allocations: 0.5121 MB / 0.51 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007868/0.2683, allocations: 4.037 MB / 0.514 GB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03635/0.3047, allocations: 33.63 MB / 0.5468 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.23/0.5346, allocations: 7.882 MB / 0.5545 GB, free: 90.91 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.5365, allocations: 1.302 MB / 0.5558 GB, free: 90.87 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.5367, allocations: 126.5 kB / 0.5559 GB, free: 90.86 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.5384, allocations: 1.685 MB / 0.5575 GB, free: 90.33 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 5.25e-06/0.5385, allocations: 0.7188 kB / 0.5575 GB, free: 90.33 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.0176/0.5561, allocations: 12.43 MB / 0.5697 GB, free: 86.73 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.5561, allocations: 362.3 kB / 0.57 GB, free: 86.35 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.5588, allocations: 2.98 MB / 0.5729 GB, free: 85.93 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.5589, allocations: 92.39 kB / 0.573 GB, free: 85.89 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.5601, allocations: 3.67 MB / 0.5766 GB, free: 84.38 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005547/0.5607, allocations: 1.445 MB / 0.578 GB, free: 83.58 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.5617, allocations: 1.187 MB / 0.5792 GB, free: 83.48 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.5618, allocations: 476.8 kB / 0.5796 GB, free: 83.02 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.563, allocations: 0.8767 MB / 0.5805 GB, free: 82.97 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.5652, allocations: 3.897 MB / 0.5843 GB, free: 79.32 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.5689, allocations: 5.004 MB / 0.5892 GB, free: 75.87 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.569, allocations: 16.97 kB / 0.5892 GB, free: 75.87 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005796/0.5748, allocations: 5.005 MB / 0.5941 GB, free: 73.62 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.5748, allocations: 61.36 kB / 0.5941 GB, free: 73.56 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/0.5748, allocations: 60.31 kB / 0.5942 GB, free: 73.5 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.5765, allocations: 0.9409 MB / 0.5951 GB, free: 72.86 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.5786, allocations: 1.26 MB / 0.5963 GB, free: 71.92 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.5839, allocations: 5.767 MB / 0.602 GB, free: 68.07 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.5857, allocations: 347.5 kB / 0.6023 GB, free: 67.88 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.5859, allocations: 267.6 kB / 0.6026 GB, free: 67.68 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.5872, allocations: 0.5435 MB / 0.6031 GB, free: 67.36 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/0.5877, allocations: 0.5011 MB / 0.6036 GB, free: 66.87 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.5919, allocations: 3.637 MB / 0.6071 GB, free: 63.86 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5919, allocations: 43.73 kB / 0.6072 GB, free: 63.82 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5919, allocations: 8 kB / 0.6072 GB, free: 63.81 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.5919, allocations: 25.8 kB / 0.6072 GB, free: 63.8 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.6021, allocations: 10.22 MB / 0.6172 GB, free: 54.17 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.6021, allocations: 12.03 kB / 0.6172 GB, free: 54.16 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6034, allocations: 0.6785 MB / 0.6179 GB, free: 53.52 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.6049, allocations: 0.825 MB / 0.6187 GB, free: 52.7 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.605, allocations: 91.97 kB / 0.6187 GB, free: 52.61 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004461/0.6095, allocations: 5.218 MB / 0.6238 GB, free: 47.3 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6095, allocations: 7.562 kB / 0.6238 GB, free: 47.29 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.6145, allocations: 4.423 MB / 0.6282 GB, free: 42.73 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.6156, allocations: 0.7712 MB / 0.6289 GB, free: 41.96 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.6158, allocations: 79.56 kB / 0.629 GB, free: 41.89 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/0.6167, allocations: 191.8 kB / 0.6292 GB, free: 41.7 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/0.617, allocations: 286.5 kB / 0.6295 GB, free: 41.42 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.6172, allocations: 120 kB / 0.6296 GB, free: 41.3 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001382/0.6185, allocations: 1.435 MB / 0.631 GB, free: 39.87 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6185, allocations: 0.5469 kB / 0.631 GB, free: 39.87 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003213/0.6218, allocations: 1.449 MB / 0.6324 GB, free: 38.42 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/0.6221, allocations: 269.8 kB / 0.6326 GB, free: 38.18 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004512/0.6266, allocations: 3.872 MB / 0.6364 GB, free: 34.47 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6266, allocations: 0 / 0.6364 GB, free: 34.47 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.6286, allocations: 2.024 MB / 0.6384 GB, free: 32.48 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.6302, allocations: 0.7533 MB / 0.6391 GB, free: 31.77 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6408, allocations: 11.68 MB / 0.6505 GB, free: 19.94 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.6419, allocations: 2.052 MB / 0.6525 GB, free: 17.85 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001912/0.6438, allocations: 1.326 MB / 0.6538 GB, free: 16.52 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/0.6444, allocations: 340.4 kB / 0.6542 GB, free: 16.19 MB / 394.8 MB Notification: Performance of SimCode: time 1.152e-06/0.6444, allocations: 0 / 0.6542 GB, free: 16.19 MB / 394.8 MB Notification: Performance of Templates: time 0.2021/0.8465, allocations: 54.09 MB / 0.707 GB, free: 120.8 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.013299475889653]