Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.33/1.33, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.001274/0.001274, allocations: 196.4 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03633/0.03633, allocations: 8.798 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 83.8 kB / 464.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.08022, allocations: 51.55 MB / 0.5041 GB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1904/0.2706, allocations: 25.43 MB / 0.5289 GB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.2823, allocations: 8.019 MB / 0.5368 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.285, allocations: 170.6 kB / 0.5369 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.2962, allocations: 6.103 MB / 0.5429 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.3023, allocations: 2.741 MB / 0.5456 GB, free: 3.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.3056, allocations: 1.617 MB / 0.5471 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007137/0.3127, allocations: 7.272 MB / 0.5542 GB, free: 1.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.3281, allocations: 13.36 MB / 0.5673 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004522/0.3327, allocations: 3.754 MB / 0.571 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004705/0.3374, allocations: 4.22 MB / 0.5751 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.3387, allocations: 1.074 MB / 0.5761 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.3411, allocations: 1.431 MB / 0.5775 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.3426, allocations: 2.145 MB / 0.5796 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003551/0.3462, allocations: 4.114 MB / 0.5836 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.3579, allocations: 14.44 MB / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3579, allocations: 0 / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3579, allocations: 0 / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001593/0.3581, allocations: 4 kB / 0.5977 GB, free: 15 MB / 414.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.02084/0.3789, allocations: 8.781 MB / 0.6063 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.379, allocations: 12.02 kB / 0.6063 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02579/0.4048, allocations: 4.401 MB / 0.6106 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008596/0.4134, allocations: 4.607 MB / 0.6151 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.4138, allocations: 491.5 kB / 0.6156 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.415, allocations: 0.6216 MB / 0.6162 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.4317, allocations: 10.36 MB / 0.6263 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.4318, allocations: 7.906 kB / 0.6263 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006962/0.4325, allocations: 272 kB / 0.6266 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003746/0.4329, allocations: 413.7 kB / 0.627 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.448, allocations: 9.872 MB / 0.6366 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04378/0.4918, allocations: 35.3 MB / 0.6711 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/0.5098, allocations: 20.66 MB / 0.6913 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003184/0.513, allocations: 2.307 MB / 0.6935 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.5133, allocations: 225.4 kB / 0.6937 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.5134, allocations: 64.89 kB / 0.6938 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.819e-06/0.5134, allocations: 0 / 0.6938 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02002/0.5334, allocations: 10.88 MB / 0.7044 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.5335, allocations: 85.72 kB / 0.7045 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.5376, allocations: 3.017 MB / 0.7074 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.5378, allocations: 77.7 kB / 0.7075 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.5396, allocations: 2.865 MB / 0.7103 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007894/0.5404, allocations: 1.023 MB / 0.7113 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.5416, allocations: 0.9133 MB / 0.7122 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.5417, allocations: 305.1 kB / 0.7125 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/0.5446, allocations: 2.024 MB / 0.7145 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003944/0.5486, allocations: 3.724 MB / 0.7181 GB, free: 15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007199/0.5558, allocations: 6.047 MB / 0.724 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/0.5558, allocations: 16 kB / 0.724 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01047/0.5663, allocations: 6.625 MB / 0.7305 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.5664, allocations: 35.92 kB / 0.7305 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.275e-05/0.5665, allocations: 56 kB / 0.7306 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.5683, allocations: 0.6749 MB / 0.7312 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.184/0.7523, allocations: 1.062 MB / 0.7323 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/0.76, allocations: 6.224 MB / 0.7384 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.7633, allocations: 278.7 kB / 0.7386 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.7637, allocations: 229.8 kB / 0.7388 GB, free: 165 MB / 0.5294 GB 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.003085/0.7668, allocations: 2.312 MB / 0.7411 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005508/0.7673, allocations: 325.1 kB / 0.7414 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007488/0.7748, allocations: 4.626 MB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.538e-05/0.7749, allocations: 15.47 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.7749, allocations: 1.094 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.776, allocations: 0.7298 MB / 0.7467 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.7764, allocations: 53.48 kB / 0.7467 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.778, allocations: 149.1 kB / 0.7469 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/0.7784, allocations: 208.2 kB / 0.7471 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007344/0.7857, allocations: 4.286 MB / 0.7512 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007051/0.7928, allocations: 5.737 MB / 0.7568 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001926/0.7947, allocations: 1.716 MB / 0.7585 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002368/0.7971, allocations: 2.018 MB / 0.7605 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of Backend: time 4.31e-07/0.7971, allocations: 0 / 0.7605 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006351/0.8035, allocations: 3.903 MB / 0.7643 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01257/0.816, allocations: 10.45 MB / 0.7745 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.07111/0.8872, allocations: 56.86 MB / 0.83 GB, free: 102.6 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1)