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.0008508/0.0008506, allocations: 90.75 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.494/1.494, allocations: 223.3 MB / 239.1 MB, free: 5.426 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.001356/0.001356, allocations: 184.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03221/0.03221, allocations: 8.802 MB / 350.2 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003733, allocations: 10.09 kB / 413.2 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 52.55 MB / 465.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02277/0.1356, allocations: 22.19 MB / 487.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.1511, allocations: 7.382 MB / 495.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004691/0.1559, allocations: 159.6 kB / 495.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004973/0.1609, allocations: 1.239 MB / 496.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.17, allocations: 2.245 MB / 499 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.1744, allocations: 1.04 MB / 0.4883 GB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.1876, allocations: 8.462 MB / 0.4966 GB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02368/0.2113, allocations: 11.11 MB / 0.5074 GB, free: 7.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005795/0.2172, allocations: 2.76 MB / 0.5101 GB, free: 4.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/0.2234, allocations: 3.214 MB / 0.5132 GB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00196/0.2254, allocations: 428 kB / 0.5136 GB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.2296, allocations: 0.773 MB / 0.5144 GB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.2322, allocations: 1.347 MB / 0.5157 GB, free: 14.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003022/0.2352, allocations: 1.381 MB / 0.5171 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.25, allocations: 12.14 MB / 0.5289 GB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.25, allocations: 0 / 0.5289 GB, free: 1.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.25, allocations: 0 / 0.5289 GB, free: 1.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003746/0.2504, allocations: 0 / 0.5289 GB, free: 1.332 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.2448/0.4952, allocations: 7.448 MB / 0.5362 GB, free: 60.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4953, allocations: 8.656 kB / 0.5362 GB, free: 60.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/0.5196, allocations: 4.398 MB / 0.5405 GB, free: 59.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009944/0.5296, allocations: 4.456 MB / 0.5449 GB, free: 57.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006011/0.5302, allocations: 0.4912 MB / 0.5453 GB, free: 57.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003364/0.5336, allocations: 0.6269 MB / 0.5459 GB, free: 57.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.5574, allocations: 10.3 MB / 0.556 GB, free: 52.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/0.5576, allocations: 7.844 kB / 0.556 GB, free: 52.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.5586, allocations: 272.7 kB / 0.5563 GB, free: 52.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/0.559, allocations: 417.4 kB / 0.5567 GB, free: 52.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.576, allocations: 9.809 MB / 0.5663 GB, free: 42.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.6235, allocations: 35.75 MB / 0.6012 GB, free: 6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/0.6414, allocations: 20.62 MB / 0.6213 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004466/0.6459, allocations: 2.304 MB / 0.6236 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.6463, allocations: 228.1 kB / 0.6238 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.6463, allocations: 60.89 kB / 0.6238 GB, free: 12.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=295): time 5.06e-06/0.6463, allocations: 0 / 0.6238 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=301): time 0.02299/0.6693, allocations: 11.6 MB / 0.6352 GB, free: 392 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.6695, allocations: 85.73 kB / 0.6352 GB, free: 292 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.6744, allocations: 3.003 MB / 0.6382 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.6748, allocations: 73.7 kB / 0.6382 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.6767, allocations: 2.856 MB / 0.641 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/0.6778, allocations: 1.039 MB / 0.642 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.678, allocations: 92 kB / 0.6421 GB, free: 9.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002918/0.6783, allocations: 496.1 kB / 0.6426 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.6815, allocations: 2.012 MB / 0.6446 GB, free: 6.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004274/0.6858, allocations: 3.705 MB / 0.6482 GB, free: 2.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/0.69, allocations: 2.82 MB / 0.6509 GB, free: 15.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-05/0.69, allocations: 16 kB / 0.651 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01099/0.701, allocations: 6.591 MB / 0.6574 GB, free: 8.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.7011, allocations: 34.28 kB / 0.6574 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.824e-05/0.7012, allocations: 56 kB / 0.6575 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.7029, allocations: 0.669 MB / 0.6581 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/0.7071, allocations: 1.072 MB / 0.6592 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008635/0.7157, allocations: 5.8 MB / 0.6648 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/0.7194, allocations: 275.5 kB / 0.6651 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005946/0.72, allocations: 232 kB / 0.6653 GB, free: 460 kB / 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.004313/0.7243, allocations: 2.313 MB / 0.6676 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/0.7251, allocations: 320.1 kB / 0.6679 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007995/0.7331, allocations: 4.617 MB / 0.6724 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.7331, allocations: 32 kB / 0.6724 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.7331, allocations: 7.984 kB / 0.6724 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.7332, allocations: 15.95 kB / 0.6725 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/0.754, allocations: 11.24 MB / 0.6834 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.7541, allocations: 4 kB / 0.6834 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.7561, allocations: 0.5272 MB / 0.684 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.7577, allocations: 0.5696 MB / 0.6845 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.7579, allocations: 67.94 kB / 0.6846 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006901/0.7648, allocations: 5.04 MB / 0.6895 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.7649, allocations: 8 kB / 0.6895 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00981/0.7747, allocations: 6.552 MB / 0.6959 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.7764, allocations: 0.7514 MB / 0.6966 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/0.7769, allocations: 56 kB / 0.6967 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7783, allocations: 151.8 kB / 0.6968 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.7786, allocations: 206.1 kB / 0.697 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.7788, allocations: 87.98 kB / 0.6971 GB, free: 15.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00302/0.7818, allocations: 2.001 MB / 0.6991 GB, free: 13.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7819, allocations: 0 / 0.6991 GB, free: 13.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004022/0.7859, allocations: 1.167 MB / 0.7002 GB, free: 12.14 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.0004866/0.7864, allocations: 240.8 kB / 0.7004 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007968/0.7944, allocations: 4.994 MB / 0.7053 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7944, allocations: 0 / 0.7053 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003686/0.7981, allocations: 2.266 MB / 0.7075 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.8012, allocations: 0.6212 MB / 0.7081 GB, free: 3.984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2084/1.01, allocations: 13.22 MB / 0.721 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00579/1.015, allocations: 4.15 MB / 0.7251 GB, free: 154.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004711/1.02, allocations: 1.327 MB / 0.7264 GB, free: 154.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009194/1.021, allocations: 274.9 kB / 0.7267 GB, free: 154.4 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.021, allocations: 1.281 kB / 0.7267 GB, free: 154.4 MB / 478.1 MB Notification: Performance of Templates: time 0.06914/1.09, allocations: 44.38 MB / 0.77 GB, free: 123.1 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: