Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03658/0.03658, allocations: 8.794 MB / 25.53 MB, free: 3.746 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 251.3 MB, free: 7.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 100.6 kB / 303.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 72.22 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1957, allocations: 51.55 MB / 417.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01805/0.2138, allocations: 25 MB / 442.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.228, allocations: 7.95 MB / 450.5 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00485/0.2329, allocations: 171.5 kB / 450.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01275/0.2457, allocations: 5.764 MB / 456.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007433/0.2531, allocations: 2.52 MB / 458.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.257, allocations: 1.525 MB / 460.5 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008554/0.2656, allocations: 7.462 MB / 467.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01526/0.2809, allocations: 10.95 MB / 478.9 MB, free: 7.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.2851, allocations: 3.255 MB / 482.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005646/0.2908, allocations: 4.044 MB / 486.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002302/0.2931, allocations: 0.6953 MB / 486.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.2967, allocations: 1.062 MB / 487.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.2986, allocations: 1.76 MB / 489.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005267/0.3038, allocations: 3.726 MB / 493.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1883/0.4922, allocations: 14.11 MB / 0.4956 GB, free: 26.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4923, allocations: 0.9062 kB / 0.4956 GB, free: 26.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4923, allocations: 0.5625 kB / 0.4956 GB, free: 26.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000345/0.4926, allocations: 0.8125 kB / 0.4956 GB, free: 26.03 MB / 362.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.02541/0.518, allocations: 8.802 MB / 0.5042 GB, free: 23.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5181, allocations: 9.625 kB / 0.5042 GB, free: 23.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.024/0.5421, allocations: 4.377 MB / 0.5085 GB, free: 22.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.5526, allocations: 4.505 MB / 0.5129 GB, free: 21.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/0.5531, allocations: 488.8 kB / 0.5134 GB, free: 21.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/0.5558, allocations: 0.6346 MB / 0.514 GB, free: 21.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/0.5759, allocations: 10.35 MB / 0.5241 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001915/0.5761, allocations: 8.844 kB / 0.5241 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/0.5774, allocations: 267 kB / 0.5244 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/0.5777, allocations: 412.7 kB / 0.5248 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/0.5946, allocations: 9.866 MB / 0.5344 GB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06199/0.6566, allocations: 35.67 MB / 0.5692 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/0.6778, allocations: 20.66 MB / 0.5894 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004448/0.6823, allocations: 2.311 MB / 0.5917 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.6828, allocations: 227.7 kB / 0.5919 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.6829, allocations: 64.89 kB / 0.5919 GB, free: 7.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.741e-06/0.6829, allocations: 0 / 0.5919 GB, free: 7.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.02235/0.7053, allocations: 10.87 MB / 0.6026 GB, free: 12.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.7053, allocations: 85.25 kB / 0.6026 GB, free: 12.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/0.71, allocations: 3.025 MB / 0.6056 GB, free: 9.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.7103, allocations: 73.7 kB / 0.6057 GB, free: 9.559 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.712, allocations: 2.859 MB / 0.6085 GB, free: 6.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009697/0.7129, allocations: 1.032 MB / 0.6095 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/0.7145, allocations: 0.9094 MB / 0.6103 GB, free: 4.734 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.7146, allocations: 301.1 kB / 0.6106 GB, free: 4.438 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.7176, allocations: 2.027 MB / 0.6126 GB, free: 2.402 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004334/0.722, allocations: 3.728 MB / 0.6163 GB, free: 13.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008312/0.7303, allocations: 6.049 MB / 0.6222 GB, free: 7.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.888e-05/0.7304, allocations: 16 kB / 0.6222 GB, free: 7.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01198/0.7424, allocations: 6.62 MB / 0.6286 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.7425, allocations: 34.5 kB / 0.6287 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.875e-05/0.7426, allocations: 52 kB / 0.6287 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.7445, allocations: 0.6729 MB / 0.6294 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004011/0.7486, allocations: 1.07 MB / 0.6304 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008365/0.7569, allocations: 5.798 MB / 0.6361 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/0.7608, allocations: 275.5 kB / 0.6364 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000788/0.7616, allocations: 232 kB / 0.6366 GB, free: 8.824 MB / 474.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.004102/0.7657, allocations: 2.319 MB / 0.6388 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009197/0.7666, allocations: 320 kB / 0.6391 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008729/0.7754, allocations: 4.632 MB / 0.6437 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/0.7755, allocations: 39.98 kB / 0.6437 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/0.7755, allocations: 4 kB / 0.6437 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/0.7755, allocations: 18.23 kB / 0.6437 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/0.7958, allocations: 11.25 MB / 0.6547 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.7959, allocations: 8 kB / 0.6547 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.7981, allocations: 0.5331 MB / 0.6552 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.7998, allocations: 0.5654 MB / 0.6558 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/0.8002, allocations: 67.98 kB / 0.6559 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007213/0.8074, allocations: 5.033 MB / 0.6608 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.8074, allocations: 11.12 kB / 0.6608 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0211/0.8285, allocations: 11.81 MB / 0.6723 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/0.8308, allocations: 0.7272 MB / 0.673 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009899/0.8318, allocations: 56 kB / 0.6731 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/0.8341, allocations: 161.8 kB / 0.6732 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006031/0.8347, allocations: 200.7 kB / 0.6734 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/0.835, allocations: 90.17 kB / 0.6735 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003405/0.8384, allocations: 2.024 MB / 0.6755 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8384, allocations: 2.438 kB / 0.6755 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.1843/1.023, allocations: 1.356 MB / 0.6768 GB, free: 190.3 MB / 0.4948 GB 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.0007542/1.024, allocations: 223.2 kB / 0.677 GB, free: 190.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007399/1.031, allocations: 5.021 MB / 0.6819 GB, free: 189.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.031, allocations: 3.938 kB / 0.6819 GB, free: 189.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00348/1.034, allocations: 2.26 MB / 0.6841 GB, free: 189.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.038, allocations: 0.6094 MB / 0.6847 GB, free: 188.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.055, allocations: 15.49 MB / 0.6999 GB, free: 180.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/1.058, allocations: 4.23 MB / 0.704 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00365/1.062, allocations: 1.331 MB / 0.7053 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/1.063, allocations: 272.2 kB / 0.7056 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/1.063, allocations: 3.938 kB / 0.7056 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.06532/1.128, allocations: 47.52 MB / 0.752 GB, free: 134.2 MB / 0.4948 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1)