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.00103/0.00103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.297/1.297, allocations: 222.9 MB / 239 MB, free: 4.738 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.001187/0.001187, allocations: 196.5 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03218/0.03218, allocations: 8.794 MB / 348.2 MB, free: 4.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 82.48 kB / 410.6 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 51.56 MB / 462.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02383/0.1255, allocations: 25.01 MB / 487.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1411, allocations: 7.897 MB / 495.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005195/0.1463, allocations: 163.5 kB / 495.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.1595, allocations: 5.778 MB / 0.4892 GB, free: 7.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009505/0.169, allocations: 2.486 MB / 0.4917 GB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.1742, allocations: 1.507 MB / 0.4931 GB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01088/0.1851, allocations: 7.252 MB / 0.5002 GB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01929/0.2044, allocations: 15.29 MB / 0.5152 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.2102, allocations: 3.751 MB / 0.5188 GB, free: 9.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006594/0.2168, allocations: 4.286 MB / 0.523 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002792/0.2196, allocations: 1.07 MB / 0.5241 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.2234, allocations: 1.441 MB / 0.5255 GB, free: 2.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.2257, allocations: 2.151 MB / 0.5276 GB, free: 388 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2307/0.4564, allocations: 4.113 MB / 0.5316 GB, free: 24.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.4725, allocations: 14.35 MB / 0.5456 GB, free: 22.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4725, allocations: 4.469 kB / 0.5456 GB, free: 22.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4726, allocations: 0 / 0.5456 GB, free: 22.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005229/0.4731, allocations: 1.219 kB / 0.5456 GB, free: 22.99 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.03668/0.5098, allocations: 8.814 MB / 0.5542 GB, free: 19.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.5099, allocations: 9.531 kB / 0.5542 GB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02617/0.536, allocations: 4.377 MB / 0.5585 GB, free: 17.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.549, allocations: 4.502 MB / 0.5629 GB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.5495, allocations: 491.9 kB / 0.5634 GB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003476/0.553, allocations: 0.6312 MB / 0.564 GB, free: 16.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/0.5808, allocations: 10.35 MB / 0.5741 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000219/0.581, allocations: 10.47 kB / 0.5741 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002218/0.5833, allocations: 269 kB / 0.5743 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003971/0.5837, allocations: 414.2 kB / 0.5747 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.6036, allocations: 9.859 MB / 0.5844 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/0.6646, allocations: 35.68 MB / 0.6192 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/0.6821, allocations: 20.66 MB / 0.6394 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/0.6859, allocations: 2.304 MB / 0.6416 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.6862, allocations: 220.2 kB / 0.6418 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.6863, allocations: 68.88 kB / 0.6419 GB, free: 4.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 5.22e-06/0.6863, allocations: 0 / 0.6419 GB, free: 4.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02104/0.7073, allocations: 10.87 MB / 0.6525 GB, free: 9.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.7074, allocations: 81.78 kB / 0.6526 GB, free: 9.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/0.7119, allocations: 3.021 MB / 0.6556 GB, free: 6.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003625/0.7123, allocations: 81.7 kB / 0.6556 GB, free: 6.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.7138, allocations: 2.863 MB / 0.6584 GB, free: 3.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008683/0.7147, allocations: 1.03 MB / 0.6594 GB, free: 2.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.716, allocations: 0.9055 MB / 0.6603 GB, free: 1.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.7161, allocations: 301.1 kB / 0.6606 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002834/0.7189, allocations: 2.022 MB / 0.6626 GB, free: 15.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/0.723, allocations: 3.735 MB / 0.6662 GB, free: 10.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/0.7304, allocations: 6.043 MB / 0.6721 GB, free: 4.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.95e-05/0.7304, allocations: 16 kB / 0.6721 GB, free: 4.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01077/0.7412, allocations: 6.627 MB / 0.6786 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.7413, allocations: 32.22 kB / 0.6787 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.246e-05/0.7414, allocations: 56 kB / 0.6787 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.7432, allocations: 0.6679 MB / 0.6794 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/0.7467, allocations: 1.071 MB / 0.6804 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008322/0.7551, allocations: 6.234 MB / 0.6865 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/0.7591, allocations: 279.5 kB / 0.6868 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005279/0.7597, allocations: 236 kB / 0.687 GB, free: 5.297 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.004372/0.764, allocations: 2.312 MB / 0.6892 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008128/0.7649, allocations: 320 kB / 0.6895 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/0.7723, allocations: 4.632 MB / 0.6941 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.7723, allocations: 35.94 kB / 0.6941 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.7723, allocations: 8 kB / 0.6941 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.7724, allocations: 23.41 kB / 0.6941 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.7907, allocations: 11.26 MB / 0.7051 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.7907, allocations: 8 kB / 0.7051 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/0.7928, allocations: 0.5281 MB / 0.7056 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.7944, allocations: 0.5685 MB / 0.7062 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.7946, allocations: 67.98 kB / 0.7063 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2251/1.02, allocations: 5.456 MB / 0.7116 GB, free: 173.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.02, allocations: 12.72 kB / 0.7116 GB, free: 173.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.03, allocations: 6.58 MB / 0.718 GB, free: 172.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/1.032, allocations: 0.7217 MB / 0.7187 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005807/1.032, allocations: 59.5 kB / 0.7188 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.034, allocations: 147 kB / 0.7189 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/1.034, allocations: 211.3 kB / 0.7191 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.035, allocations: 89.64 kB / 0.7192 GB, free: 172.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003246/1.038, allocations: 2.014 MB / 0.7212 GB, free: 171.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.038, allocations: 3.969 kB / 0.7212 GB, free: 171.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004889/1.043, allocations: 1.173 MB / 0.7223 GB, free: 171.8 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.0005767/1.043, allocations: 221 kB / 0.7225 GB, free: 171.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01736/1.061, allocations: 8.292 MB / 0.7306 GB, free: 169.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.061, allocations: 0 / 0.7306 GB, free: 169.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.064, allocations: 2.269 MB / 0.7329 GB, free: 168.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/1.068, allocations: 0.6357 MB / 0.7335 GB, free: 168.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.085, allocations: 13.82 MB / 0.747 GB, free: 157 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/1.088, allocations: 4.143 MB / 0.751 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003525/1.092, allocations: 1.328 MB / 0.7523 GB, free: 152.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/1.093, allocations: 271.2 kB / 0.7526 GB, free: 152.6 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/1.093, allocations: 0 / 0.7526 GB, free: 152.6 MB / 494.1 MB Notification: Performance of Templates: time 0.0663/1.159, allocations: 47.84 MB / 0.7993 GB, free: 107 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)