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.0009924/0.0009927, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.346/1.346, allocations: 223.3 MB / 239.1 MB, free: 5.586 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.001083/0.001083, allocations: 172.6 kB / 290.3 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03295/0.03295, allocations: 8.792 MB / 350.2 MB, free: 4.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005251, allocations: 14.25 kB / 413.2 MB, free: 43.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 52.55 MB / 465.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02158/0.1374, allocations: 22.21 MB / 488 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.1529, allocations: 7.382 MB / 495.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006316/0.1593, allocations: 159.5 kB / 495.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.1647, allocations: 1.24 MB / 496.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008108/0.1728, allocations: 2.246 MB / 499 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.1765, allocations: 1.038 MB / 0.4883 GB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.1892, allocations: 8.467 MB / 0.4966 GB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.2089, allocations: 11.12 MB / 0.5074 GB, free: 7.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004606/0.2135, allocations: 2.768 MB / 0.5101 GB, free: 4.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005525/0.2191, allocations: 3.211 MB / 0.5133 GB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.2208, allocations: 428 kB / 0.5137 GB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.2239, allocations: 0.7808 MB / 0.5144 GB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.2252, allocations: 1.339 MB / 0.5157 GB, free: 14.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.2273, allocations: 1.385 MB / 0.5171 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.2387, allocations: 12.14 MB / 0.5289 GB, free: 1.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2387, allocations: 0 / 0.5289 GB, free: 1.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.2387, allocations: 4 kB / 0.529 GB, free: 1.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003619/0.2391, allocations: 0 / 0.529 GB, free: 1.371 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.2186/0.4577, allocations: 7.442 MB / 0.5362 GB, free: 60.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/0.4578, allocations: 10.61 kB / 0.5362 GB, free: 60.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02615/0.4839, allocations: 4.403 MB / 0.5405 GB, free: 59.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.4949, allocations: 4.456 MB / 0.5449 GB, free: 58.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006674/0.4956, allocations: 492.3 kB / 0.5454 GB, free: 58.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003161/0.4988, allocations: 0.6331 MB / 0.546 GB, free: 58.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/0.5236, allocations: 10.3 MB / 0.556 GB, free: 52.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002008/0.5238, allocations: 11.88 kB / 0.556 GB, free: 52.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009319/0.5247, allocations: 268.4 kB / 0.5563 GB, free: 52.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/0.5251, allocations: 420.7 kB / 0.5567 GB, free: 52.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/0.5429, allocations: 9.81 MB / 0.5663 GB, free: 42.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05483/0.5978, allocations: 35.75 MB / 0.6012 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/0.6161, allocations: 20.63 MB / 0.6213 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004532/0.6207, allocations: 2.3 MB / 0.6236 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/0.6211, allocations: 228.3 kB / 0.6238 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/0.6212, allocations: 64.89 kB / 0.6239 GB, free: 12.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 4.508e-06/0.6212, allocations: 0 / 0.6239 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02858/0.6498, allocations: 11.59 MB / 0.6352 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.6499, allocations: 89.73 kB / 0.6353 GB, free: 432 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006064/0.656, allocations: 3.001 MB / 0.6382 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007088/0.6568, allocations: 69.7 kB / 0.6383 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00241/0.6592, allocations: 2.857 MB / 0.641 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.6606, allocations: 1.046 MB / 0.6421 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005372/0.6612, allocations: 95.94 kB / 0.6422 GB, free: 9.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004199/0.6616, allocations: 496.1 kB / 0.6426 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/0.6652, allocations: 2.008 MB / 0.6446 GB, free: 6.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/0.6701, allocations: 3.709 MB / 0.6482 GB, free: 2.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/0.6749, allocations: 2.808 MB / 0.651 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.186e-05/0.675, allocations: 20 kB / 0.651 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01334/0.6884, allocations: 6.591 MB / 0.6574 GB, free: 8.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.212e-05/0.6885, allocations: 28 kB / 0.6574 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.6886, allocations: 59.98 kB / 0.6575 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.6907, allocations: 0.6767 MB / 0.6582 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.695, allocations: 1.072 MB / 0.6592 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008685/0.7037, allocations: 5.796 MB / 0.6649 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/0.7078, allocations: 279.5 kB / 0.6651 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009989/0.7089, allocations: 228 kB / 0.6653 GB, free: 0.582 MB / 430.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 (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%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00573/0.7146, allocations: 2.312 MB / 0.6676 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/0.7157, allocations: 320 kB / 0.6679 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009928/0.7257, allocations: 4.633 MB / 0.6724 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.7257, allocations: 28 kB / 0.6725 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/0.7258, allocations: 8 kB / 0.6725 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/0.7258, allocations: 15.94 kB / 0.6725 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/0.7515, allocations: 11.23 MB / 0.6834 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/0.7515, allocations: 8 kB / 0.6835 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/0.754, allocations: 0.5233 MB / 0.684 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.7558, allocations: 0.5657 MB / 0.6845 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004524/0.7563, allocations: 71.94 kB / 0.6846 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007868/0.7642, allocations: 5.036 MB / 0.6895 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.7642, allocations: 4 kB / 0.6895 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.7762, allocations: 6.553 MB / 0.6959 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/0.7785, allocations: 0.7507 MB / 0.6966 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009817/0.7795, allocations: 60 kB / 0.6967 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.7816, allocations: 147.8 kB / 0.6968 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.7821, allocations: 210.1 kB / 0.697 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/0.7824, allocations: 87.98 kB / 0.6971 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004224/0.7866, allocations: 1.997 MB / 0.6991 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7867, allocations: 0 / 0.6991 GB, free: 13.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005829/0.7925, allocations: 1.174 MB / 0.7002 GB, free: 12.26 MB / 478.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 (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,62.5%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007318/0.7932, allocations: 232.2 kB / 0.7004 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009146/0.8024, allocations: 4.994 MB / 0.7053 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.8025, allocations: 4 kB / 0.7053 GB, free: 7.004 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004307/0.8068, allocations: 2.256 MB / 0.7075 GB, free: 4.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/0.8111, allocations: 0.6337 MB / 0.7081 GB, free: 4.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2182/1.029, allocations: 13.21 MB / 0.7211 GB, free: 156 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005022/1.034, allocations: 4.147 MB / 0.7251 GB, free: 155.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004579/1.039, allocations: 1.323 MB / 0.7264 GB, free: 155.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/1.04, allocations: 276.6 kB / 0.7267 GB, free: 155.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.113e-06/1.04, allocations: 0 / 0.7267 GB, free: 155.1 MB / 478.1 MB Notification: Performance of Templates: time 0.07511/1.115, allocations: 44.38 MB / 0.77 GB, free: 123.8 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: