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.0008544/0.0008544, allocations: 100.2 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.321/1.321, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001099/0.001099, allocations: 181 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03354/0.03354, allocations: 8.81 MB / 350.1 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005128, allocations: 9.531 kB / 413.1 MB, free: 43.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1201, allocations: 52.56 MB / 465.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02081/0.1409, allocations: 20.4 MB / 486 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.1574, allocations: 7.584 MB / 493.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004673/0.1621, allocations: 151.6 kB / 493.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005925/0.168, allocations: 1.52 MB / 495.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009885/0.1779, allocations: 2.724 MB / 498 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.1824, allocations: 1.242 MB / 499.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.1936, allocations: 6.247 MB / 0.4937 GB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01792/0.2116, allocations: 10.98 MB / 0.5044 GB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.2156, allocations: 2.558 MB / 0.5069 GB, free: 7.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.22, allocations: 2.907 MB / 0.5097 GB, free: 5.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008943/0.2209, allocations: 424 kB / 0.5101 GB, free: 4.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.223, allocations: 0.7183 MB / 0.5108 GB, free: 3.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.2244, allocations: 1.3 MB / 0.5121 GB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.2268, allocations: 1.385 MB / 0.5135 GB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.2391, allocations: 12.08 MB / 0.5252 GB, free: 5.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2391, allocations: 0 / 0.5252 GB, free: 5.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2391, allocations: 0 / 0.5252 GB, free: 5.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003367/0.2395, allocations: 0 / 0.5252 GB, free: 5.094 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.1966/0.4361, allocations: 7.412 MB / 0.5325 GB, free: 57.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4362, allocations: 9.062 kB / 0.5325 GB, free: 57.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02542/0.4616, allocations: 4.299 MB / 0.5367 GB, free: 57.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.4743, allocations: 4.429 MB / 0.541 GB, free: 56.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/0.475, allocations: 488.1 kB / 0.5415 GB, free: 56.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003129/0.4781, allocations: 0.626 MB / 0.5421 GB, free: 56.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.5088, allocations: 10.25 MB / 0.5521 GB, free: 51.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/0.5091, allocations: 7.844 kB / 0.5521 GB, free: 51.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001541/0.5106, allocations: 267.3 kB / 0.5524 GB, free: 51.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003624/0.511, allocations: 421.4 kB / 0.5528 GB, free: 51.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/0.5304, allocations: 9.816 MB / 0.5624 GB, free: 44.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05159/0.5821, allocations: 35.75 MB / 0.5973 GB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/0.599, allocations: 20.61 MB / 0.6174 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.5995, allocations: 227.8 kB / 0.6176 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.5996, allocations: 68.89 kB / 0.6177 GB, free: 300 kB / 382.1 MB Notification: Performance of pre-optimization done (n=295): time 5.951e-06/0.5996, allocations: 0 / 0.6177 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=301): time 0.02034/0.62, allocations: 10.83 MB / 0.6283 GB, free: 5.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.62, allocations: 81.78 kB / 0.6283 GB, free: 5.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.6244, allocations: 2.99 MB / 0.6313 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.6246, allocations: 77.7 kB / 0.6313 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.6264, allocations: 2.868 MB / 0.6341 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007904/0.6272, allocations: 1.038 MB / 0.6352 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.6275, allocations: 88 kB / 0.6352 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.6277, allocations: 0.4922 MB / 0.6357 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/0.6306, allocations: 2.024 MB / 0.6377 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.6346, allocations: 3.695 MB / 0.6413 GB, free: 7.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.6385, allocations: 2.836 MB / 0.6441 GB, free: 4.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/0.6386, allocations: 16 kB / 0.6441 GB, free: 4.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01063/0.6492, allocations: 6.604 MB / 0.6505 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.6493, allocations: 29.16 kB / 0.6506 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-05/0.6494, allocations: 60 kB / 0.6506 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.6512, allocations: 0.6701 MB / 0.6513 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.6549, allocations: 1.072 MB / 0.6523 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/0.6631, allocations: 5.874 MB / 0.6581 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.6665, allocations: 271.5 kB / 0.6583 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005621/0.6671, allocations: 232 kB / 0.6585 GB, free: 5.297 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.004127/0.6712, allocations: 2.315 MB / 0.6608 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/0.672, allocations: 320 kB / 0.6611 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008072/0.68, allocations: 4.657 MB / 0.6657 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.6801, allocations: 32 kB / 0.6657 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.6801, allocations: 4 kB / 0.6657 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-05/0.6802, allocations: 15.94 kB / 0.6657 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.6995, allocations: 10.99 MB / 0.6764 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6995, allocations: 4 kB / 0.6764 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.7016, allocations: 0.5382 MB / 0.677 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.7032, allocations: 0.5754 MB / 0.6775 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.7034, allocations: 67.98 kB / 0.6776 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006524/0.7099, allocations: 5.22 MB / 0.6827 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.7099, allocations: 7.938 kB / 0.6827 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009153/0.7191, allocations: 7.02 MB / 0.6896 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/0.7209, allocations: 0.7545 MB / 0.6903 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007778/0.7217, allocations: 60 kB / 0.6903 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.7239, allocations: 147.8 kB / 0.6905 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.7243, allocations: 206.1 kB / 0.6907 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/0.7244, allocations: 87.98 kB / 0.6908 GB, free: 3.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002937/0.7274, allocations: 1.989 MB / 0.6927 GB, free: 1.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7274, allocations: 0 / 0.6927 GB, free: 1.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004148/0.7315, allocations: 1.176 MB / 0.6939 GB, free: 364 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.0004697/0.732, allocations: 238.5 kB / 0.6941 GB, free: 120 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007873/0.7399, allocations: 5.01 MB / 0.699 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.7399, allocations: 4 kB / 0.699 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/0.7437, allocations: 2.24 MB / 0.7012 GB, free: 8.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.7467, allocations: 0.5791 MB / 0.7017 GB, free: 8.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.9459, allocations: 13.17 MB / 0.7146 GB, free: 161.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006041/0.952, allocations: 4.252 MB / 0.7188 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004625/0.9567, allocations: 1.325 MB / 0.72 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.9577, allocations: 277.8 kB / 0.7203 GB, free: 160.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.9578, allocations: 1.625 kB / 0.7203 GB, free: 160.5 MB / 478.1 MB Notification: Performance of Templates: time 0.0717/1.029, allocations: 44.29 MB / 0.7636 GB, free: 131.9 MB / 478.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) Environment - environmentSimulation: