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.001236/0.001236, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.352/1.352, allocations: 222.9 MB / 240 MB, free: 4.512 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.001276/0.001276, allocations: 188.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03467/0.03467, allocations: 8.789 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 80.89 kB / 412.5 MB, free: 41.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08687, allocations: 51.55 MB / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02567/0.1126, allocations: 25.43 MB / 489.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.1292, allocations: 8.01 MB / 497.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004992/0.1342, allocations: 167.6 kB / 497.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01508/0.1493, allocations: 6.11 MB / 0.492 GB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.1597, allocations: 2.741 MB / 0.4947 GB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.1651, allocations: 1.623 MB / 0.4962 GB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01106/0.1762, allocations: 7.276 MB / 0.5033 GB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02251/0.1987, allocations: 13.31 MB / 0.5164 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006489/0.2052, allocations: 3.732 MB / 0.52 GB, free: 8.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007621/0.2129, allocations: 4.224 MB / 0.5241 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004271/0.2172, allocations: 1.07 MB / 0.5252 GB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.2228, allocations: 1.433 MB / 0.5266 GB, free: 2.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2406/0.4634, allocations: 2.143 MB / 0.5287 GB, free: 23.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007223/0.4707, allocations: 4.109 MB / 0.5327 GB, free: 23.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.017/0.4877, allocations: 14.44 MB / 0.5468 GB, free: 22.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4878, allocations: 0 / 0.5468 GB, free: 22.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4878, allocations: 3.719 kB / 0.5468 GB, free: 22.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004322/0.4882, allocations: 0.5 kB / 0.5468 GB, free: 22.09 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.0322/0.5204, allocations: 8.772 MB / 0.5553 GB, free: 18.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5205, allocations: 9.219 kB / 0.5554 GB, free: 18.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.5466, allocations: 4.406 MB / 0.5597 GB, free: 16.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.5615, allocations: 4.616 MB / 0.5642 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.5619, allocations: 486.2 kB / 0.5646 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/0.5644, allocations: 0.6315 MB / 0.5652 GB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.5851, allocations: 10.34 MB / 0.5753 GB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.5853, allocations: 14.77 kB / 0.5754 GB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000675/0.586, allocations: 267 kB / 0.5756 GB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/0.5863, allocations: 417.7 kB / 0.576 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.601, allocations: 9.869 MB / 0.5856 GB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0534/0.6544, allocations: 35.29 MB / 0.6201 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/0.6716, allocations: 20.67 MB / 0.6403 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/0.675, allocations: 2.3 MB / 0.6425 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.6753, allocations: 227.4 kB / 0.6428 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.6753, allocations: 64.88 kB / 0.6428 GB, free: 3.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 4.639e-06/0.6753, allocations: 1.031 kB / 0.6428 GB, free: 3.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.01979/0.6951, allocations: 10.87 MB / 0.6534 GB, free: 8.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.6952, allocations: 81.78 kB / 0.6535 GB, free: 8.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.6993, allocations: 3.025 MB / 0.6565 GB, free: 5.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.6996, allocations: 77.7 kB / 0.6565 GB, free: 5.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.7012, allocations: 2.86 MB / 0.6593 GB, free: 2.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/0.702, allocations: 1.037 MB / 0.6603 GB, free: 1.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.7033, allocations: 0.9052 MB / 0.6612 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.7034, allocations: 301.1 kB / 0.6615 GB, free: 472 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/0.7061, allocations: 2.024 MB / 0.6635 GB, free: 14.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/0.7099, allocations: 3.733 MB / 0.6671 GB, free: 9.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007055/0.717, allocations: 6.049 MB / 0.673 GB, free: 3.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.973e-05/0.717, allocations: 16 kB / 0.6731 GB, free: 3.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01003/0.7271, allocations: 6.624 MB / 0.6795 GB, free: 12.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.7271, allocations: 28 kB / 0.6796 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.886e-05/0.7272, allocations: 56 kB / 0.6796 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.7289, allocations: 0.6641 MB / 0.6803 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/0.7324, allocations: 1.07 MB / 0.6813 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/0.7405, allocations: 6.233 MB / 0.6874 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/0.7439, allocations: 279.5 kB / 0.6877 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/0.7443, allocations: 228 kB / 0.6879 GB, free: 4.41 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.003651/0.748, allocations: 2.312 MB / 0.6901 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/0.7486, allocations: 324 kB / 0.6904 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007339/0.756, allocations: 4.624 MB / 0.695 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.756, allocations: 35.88 kB / 0.695 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.756, allocations: 8 kB / 0.695 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.756, allocations: 15.94 kB / 0.695 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/0.7748, allocations: 11.09 MB / 0.7058 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.7748, allocations: 4 kB / 0.7058 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/0.7768, allocations: 0.5354 MB / 0.7064 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.7783, allocations: 0.5651 MB / 0.7069 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.7786, allocations: 67.98 kB / 0.707 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2279/1.006, allocations: 5.451 MB / 0.7123 GB, free: 172.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.006, allocations: 8.297 kB / 0.7123 GB, free: 172.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.017, allocations: 6.579 MB / 0.7187 GB, free: 172.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.019, allocations: 0.7153 MB / 0.7194 GB, free: 172.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000541/1.02, allocations: 63.48 kB / 0.7195 GB, free: 172.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.022, allocations: 146.2 kB / 0.7196 GB, free: 172.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/1.022, allocations: 214.7 kB / 0.7198 GB, free: 172.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.022, allocations: 87.55 kB / 0.7199 GB, free: 172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003184/1.025, allocations: 2.017 MB / 0.7219 GB, free: 171.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.025, allocations: 0 / 0.7219 GB, free: 171.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004522/1.03, allocations: 1.172 MB / 0.723 GB, free: 171.2 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.0005271/1.031, allocations: 228.6 kB / 0.7233 GB, free: 171 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007176/1.038, allocations: 5.038 MB / 0.7282 GB, free: 169.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.038, allocations: 6.469 kB / 0.7282 GB, free: 169.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/1.041, allocations: 2.263 MB / 0.7304 GB, free: 168.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/1.045, allocations: 0.653 MB / 0.731 GB, free: 168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.063, allocations: 10.97 MB / 0.7418 GB, free: 162.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/1.067, allocations: 4.151 MB / 0.7458 GB, free: 159.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00345/1.071, allocations: 1.33 MB / 0.7471 GB, free: 158.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008107/1.071, allocations: 277.6 kB / 0.7474 GB, free: 158 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/1.071, allocations: 0.875 kB / 0.7474 GB, free: 158 MB / 494.1 MB Notification: Performance of Templates: time 0.06601/1.137, allocations: 43.54 MB / 0.7899 GB, free: 116.8 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 cvode -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)