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.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.482/1.482, allocations: 223.2 MB / 239 MB, free: 5.488 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.001231/0.001231, allocations: 189 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0323/0.0323, allocations: 8.799 MB / 350.1 MB, free: 4.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004571, allocations: 11.44 kB / 413.1 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 52.56 MB / 465.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02394/0.1305, allocations: 20.38 MB / 486 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.1515, allocations: 7.587 MB / 493.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007518/0.1591, allocations: 147.6 kB / 493.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007458/0.1666, allocations: 1.524 MB / 495.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.1783, allocations: 2.709 MB / 498 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006182/0.1845, allocations: 1.245 MB / 499.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.197, allocations: 6.254 MB / 0.4937 GB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02291/0.22, allocations: 10.97 MB / 0.5044 GB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.2255, allocations: 2.558 MB / 0.5069 GB, free: 7.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.231, allocations: 2.895 MB / 0.5097 GB, free: 5.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.2328, allocations: 431.9 kB / 0.5101 GB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.2371, allocations: 0.7261 MB / 0.5108 GB, free: 3.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002844/0.24, allocations: 1.297 MB / 0.5121 GB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002697/0.2427, allocations: 1.381 MB / 0.5134 GB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.2573, allocations: 12.08 MB / 0.5252 GB, free: 5.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2573, allocations: 4 kB / 0.5252 GB, free: 5.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2573, allocations: 0 / 0.5252 GB, free: 5.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004439/0.2578, allocations: 0 / 0.5252 GB, free: 5.105 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.2455/0.5033, allocations: 7.41 MB / 0.5325 GB, free: 57.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5034, allocations: 8.594 kB / 0.5325 GB, free: 57.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02648/0.5299, allocations: 4.299 MB / 0.5367 GB, free: 57.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.5421, allocations: 4.427 MB / 0.541 GB, free: 56.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008483/0.543, allocations: 491.1 kB / 0.5415 GB, free: 56.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0032/0.5462, allocations: 0.6211 MB / 0.5421 GB, free: 56.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/0.5736, allocations: 10.25 MB / 0.5521 GB, free: 51.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/0.5738, allocations: 14.28 kB / 0.5521 GB, free: 51.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.5751, allocations: 263.7 kB / 0.5523 GB, free: 51.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004736/0.5756, allocations: 422.7 kB / 0.5528 GB, free: 51.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.5977, allocations: 9.816 MB / 0.5623 GB, free: 44.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05055/0.6483, allocations: 35.76 MB / 0.5973 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/0.6665, allocations: 20.62 MB / 0.6174 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005199/0.667, allocations: 227.4 kB / 0.6176 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.842e-05/0.6671, allocations: 60.89 kB / 0.6177 GB, free: 360 kB / 382.1 MB Notification: Performance of pre-optimization done (n=295): time 7.995e-06/0.6672, allocations: 0 / 0.6177 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=301): time 0.02329/0.6905, allocations: 10.83 MB / 0.6283 GB, free: 5.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.6906, allocations: 81.78 kB / 0.6283 GB, free: 5.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/0.696, allocations: 2.998 MB / 0.6313 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/0.6964, allocations: 73.7 kB / 0.6313 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.6984, allocations: 2.865 MB / 0.6341 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.6997, allocations: 1.034 MB / 0.6351 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004492/0.7001, allocations: 92 kB / 0.6352 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003758/0.7005, allocations: 0.492 MB / 0.6357 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/0.7043, allocations: 2.02 MB / 0.6377 GB, free: 11.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/0.71, allocations: 3.701 MB / 0.6413 GB, free: 7.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/0.715, allocations: 2.832 MB / 0.6441 GB, free: 4.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-05/0.7151, allocations: 16 kB / 0.6441 GB, free: 4.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0129/0.728, allocations: 6.616 MB / 0.6505 GB, free: 13.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.7281, allocations: 35.92 kB / 0.6506 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.721e-05/0.7282, allocations: 52 kB / 0.6506 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.7302, allocations: 0.6664 MB / 0.6513 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.7342, allocations: 1.084 MB / 0.6523 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008777/0.743, allocations: 5.854 MB / 0.658 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.7467, allocations: 275.5 kB / 0.6583 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/0.7475, allocations: 228 kB / 0.6585 GB, free: 5.355 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * 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 (562): * Single equations (assignments): 561 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004276/0.7518, allocations: 2.319 MB / 0.6608 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008476/0.7526, allocations: 320 kB / 0.6611 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008792/0.7614, allocations: 4.657 MB / 0.6656 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.7615, allocations: 32 kB / 0.6657 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.7615, allocations: 4 kB / 0.6657 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001017/0.7616, allocations: 23.89 kB / 0.6657 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.7816, allocations: 10.99 MB / 0.6764 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.7816, allocations: 7.984 kB / 0.6764 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/0.7838, allocations: 0.5382 MB / 0.677 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.7855, allocations: 0.5715 MB / 0.6775 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.7858, allocations: 63.98 kB / 0.6776 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/0.7932, allocations: 5.213 MB / 0.6827 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.7933, allocations: 15.94 kB / 0.6827 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.8044, allocations: 7.027 MB / 0.6896 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/0.8065, allocations: 0.7467 MB / 0.6903 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/0.8073, allocations: 60 kB / 0.6903 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.8094, allocations: 147.8 kB / 0.6905 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/0.8098, allocations: 206.1 kB / 0.6907 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.81, allocations: 87.98 kB / 0.6908 GB, free: 3.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00402/0.814, allocations: 1.989 MB / 0.6927 GB, free: 1.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8141, allocations: 0 / 0.6927 GB, free: 1.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005311/0.8194, allocations: 1.183 MB / 0.6939 GB, free: 408 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007597/0.8202, allocations: 229 kB / 0.6941 GB, free: 172 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009533/0.8297, allocations: 5.014 MB / 0.699 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.8297, allocations: 3.984 kB / 0.699 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004013/0.8338, allocations: 2.242 MB / 0.7012 GB, free: 8.867 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.8368, allocations: 0.5647 MB / 0.7017 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.209/1.046, allocations: 13.18 MB / 0.7146 GB, free: 152.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005678/1.052, allocations: 4.251 MB / 0.7187 GB, free: 151.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004247/1.056, allocations: 1.33 MB / 0.72 GB, free: 151.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/1.057, allocations: 273.7 kB / 0.7203 GB, free: 151.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/1.057, allocations: 0 / 0.7203 GB, free: 151.3 MB / 478.1 MB Notification: Performance of Templates: time 0.06659/1.123, allocations: 44.28 MB / 0.7635 GB, free: 122.6 MB / 478.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) Environment - environmentSimulation: