Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 116.8 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 180.5 kB / 290.3 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03475/0.03475, allocations: 8.802 MB / 349.3 MB, free: 4.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 77.67 kB / 412.5 MB, free: 41.72 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08787/0.08942, allocations: 51.57 MB / 464.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02611/0.1156, allocations: 25.42 MB / 489.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.1307, allocations: 8.014 MB / 497.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004553/0.1353, allocations: 171.5 kB / 497.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.1491, allocations: 6.117 MB / 0.492 GB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008488/0.1576, allocations: 2.733 MB / 0.4947 GB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.162, allocations: 1.623 MB / 0.4963 GB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009774/0.1718, allocations: 7.276 MB / 0.5034 GB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01599/0.1879, allocations: 13.31 MB / 0.5164 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.193, allocations: 3.736 MB / 0.52 GB, free: 8.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.1993, allocations: 4.216 MB / 0.5241 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.2011, allocations: 1.07 MB / 0.5252 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.2041, allocations: 1.433 MB / 0.5266 GB, free: 2.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1767/0.3807, allocations: 2.144 MB / 0.5287 GB, free: 23.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005686/0.3864, allocations: 4.112 MB / 0.5327 GB, free: 23.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.4002, allocations: 14.44 MB / 0.5468 GB, free: 21.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4003, allocations: 1.344 kB / 0.5468 GB, free: 21.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4003, allocations: 1.656 kB / 0.5468 GB, free: 21.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003772/0.4007, allocations: 0 / 0.5468 GB, free: 21.66 MB / 366.1 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.02897/0.4296, allocations: 8.766 MB / 0.5553 GB, free: 17.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4297, allocations: 9.344 kB / 0.5554 GB, free: 17.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0244/0.4541, allocations: 4.404 MB / 0.5597 GB, free: 16.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.4653, allocations: 4.622 MB / 0.5642 GB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.4658, allocations: 491.2 kB / 0.5646 GB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/0.4689, allocations: 0.6244 MB / 0.5652 GB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/0.4907, allocations: 10.35 MB / 0.5754 GB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.4909, allocations: 11.47 kB / 0.5754 GB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/0.492, allocations: 267.8 kB / 0.5756 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003185/0.4924, allocations: 415.2 kB / 0.576 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.5078, allocations: 9.873 MB / 0.5857 GB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05903/0.5669, allocations: 35.29 MB / 0.6201 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/0.5854, allocations: 20.66 MB / 0.6403 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003868/0.5893, allocations: 2.302 MB / 0.6425 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.5897, allocations: 223.4 kB / 0.6428 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/0.5898, allocations: 66.89 kB / 0.6428 GB, free: 3.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 4.499e-06/0.5898, allocations: 0 / 0.6428 GB, free: 3.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02417/0.614, allocations: 10.88 MB / 0.6534 GB, free: 8.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.6141, allocations: 81.78 kB / 0.6535 GB, free: 8.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005842/0.6199, allocations: 3.017 MB / 0.6565 GB, free: 5.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.6203, allocations: 77.7 kB / 0.6565 GB, free: 5.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/0.6225, allocations: 2.868 MB / 0.6593 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.6235, allocations: 1.031 MB / 0.6604 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/0.6254, allocations: 0.9055 MB / 0.6612 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6255, allocations: 305.1 kB / 0.6615 GB, free: 280 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/0.6288, allocations: 2.027 MB / 0.6635 GB, free: 14.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.6334, allocations: 3.727 MB / 0.6671 GB, free: 9.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/0.642, allocations: 6.043 MB / 0.673 GB, free: 3.137 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.253e-05/0.6421, allocations: 16 kB / 0.6731 GB, free: 3.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01285/0.655, allocations: 6.626 MB / 0.6795 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.6551, allocations: 28 kB / 0.6796 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.6552, allocations: 67.7 kB / 0.6796 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.657, allocations: 0.664 MB / 0.6803 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/0.6609, allocations: 1.07 MB / 0.6813 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/0.6693, allocations: 6.223 MB / 0.6874 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/0.6733, allocations: 283.5 kB / 0.6877 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008905/0.6742, allocations: 232 kB / 0.6879 GB, free: 4.223 MB / 478.1 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.004737/0.679, allocations: 2.309 MB / 0.6901 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009785/0.68, allocations: 328 kB / 0.6905 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008558/0.6885, allocations: 4.622 MB / 0.695 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.6886, allocations: 28 kB / 0.695 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.6886, allocations: 11.94 kB / 0.695 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.315e-05/0.6886, allocations: 15.94 kB / 0.695 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02233/0.711, allocations: 11.09 MB / 0.7059 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.711, allocations: 11.92 kB / 0.7059 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/0.7132, allocations: 0.5317 MB / 0.7064 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.7147, allocations: 0.5687 MB / 0.7069 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003265/0.7151, allocations: 67.98 kB / 0.707 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.198/0.9131, allocations: 5.436 MB / 0.7123 GB, free: 172.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.9132, allocations: 9.594 kB / 0.7123 GB, free: 172.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.9298, allocations: 6.586 MB / 0.7188 GB, free: 172.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/0.9331, allocations: 0.7193 MB / 0.7195 GB, free: 172.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/0.9342, allocations: 67.86 kB / 0.7195 GB, free: 172.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/0.9371, allocations: 146.3 kB / 0.7197 GB, free: 172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/0.9375, allocations: 206.4 kB / 0.7199 GB, free: 172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.9377, allocations: 90.03 kB / 0.7199 GB, free: 172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003155/0.9409, allocations: 2.018 MB / 0.7219 GB, free: 171.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9409, allocations: 0 / 0.7219 GB, free: 171.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004242/0.9452, allocations: 1.171 MB / 0.7231 GB, free: 171.1 MB / 494.1 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.0004852/0.9457, allocations: 229 kB / 0.7233 GB, free: 171 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007228/0.9529, allocations: 5.036 MB / 0.7282 GB, free: 169.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.9529, allocations: 0 / 0.7282 GB, free: 169.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.9558, allocations: 2.274 MB / 0.7304 GB, free: 168.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.9588, allocations: 0.6406 MB / 0.731 GB, free: 168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.9739, allocations: 10.99 MB / 0.7418 GB, free: 162.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/0.9771, allocations: 4.147 MB / 0.7458 GB, free: 158.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00322/0.9804, allocations: 1.334 MB / 0.7471 GB, free: 158 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/0.9811, allocations: 273.5 kB / 0.7474 GB, free: 157.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.9811, allocations: 0 / 0.7474 GB, free: 157.8 MB / 494.1 MB Notification: Performance of Templates: time 0.07965/1.061, allocations: 43.54 MB / 0.7899 GB, free: 116.5 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)