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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0371/0.0371, allocations: 8.794 MB / 25.52 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 251.3 MB, free: 7.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009415, allocations: 103.8 kB / 303.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 71.89 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1741, allocations: 51.55 MB / 417.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01784/0.192, allocations: 25 MB / 442.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.206, allocations: 7.942 MB / 450.5 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004453/0.2105, allocations: 163.5 kB / 450.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.2229, allocations: 5.771 MB / 456.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007009/0.2299, allocations: 2.516 MB / 458.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.2335, allocations: 1.527 MB / 460.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007687/0.2412, allocations: 7.462 MB / 467.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01338/0.2546, allocations: 10.95 MB / 478.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.2587, allocations: 3.248 MB / 482.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005648/0.2643, allocations: 4.04 MB / 486.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.2662, allocations: 0.6992 MB / 486.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.269, allocations: 1.07 MB / 487.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.2705, allocations: 1.76 MB / 489.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00493/0.2755, allocations: 3.726 MB / 493.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1731/0.4486, allocations: 14.1 MB / 0.4956 GB, free: 26.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4487, allocations: 0.5 kB / 0.4956 GB, free: 26.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4487, allocations: 0 / 0.4956 GB, free: 26.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002964/0.449, allocations: 1.562 kB / 0.4956 GB, free: 26.04 MB / 362.7 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.0235/0.4725, allocations: 8.802 MB / 0.5042 GB, free: 23.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4726, allocations: 7.5 kB / 0.5042 GB, free: 23.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/0.4952, allocations: 4.383 MB / 0.5085 GB, free: 22.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009913/0.5052, allocations: 4.506 MB / 0.5129 GB, free: 21.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/0.5056, allocations: 491.3 kB / 0.5134 GB, free: 21.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.5082, allocations: 0.6313 MB / 0.514 GB, free: 21.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.5288, allocations: 10.36 MB / 0.5241 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.529, allocations: 7.812 kB / 0.5241 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/0.53, allocations: 265.1 kB / 0.5243 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/0.5304, allocations: 415.7 kB / 0.5247 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.5456, allocations: 9.861 MB / 0.5344 GB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/0.5991, allocations: 35.68 MB / 0.5692 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/0.6171, allocations: 20.66 MB / 0.5894 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003474/0.6206, allocations: 2.307 MB / 0.5917 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.6209, allocations: 223.2 kB / 0.5919 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.6209, allocations: 64.88 kB / 0.5919 GB, free: 7.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 4.418e-06/0.621, allocations: 0 / 0.5919 GB, free: 7.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01922/0.6402, allocations: 10.87 MB / 0.6025 GB, free: 12.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6403, allocations: 81.78 kB / 0.6026 GB, free: 12.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.6444, allocations: 3.021 MB / 0.6056 GB, free: 9.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.6447, allocations: 73.7 kB / 0.6056 GB, free: 9.582 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.6464, allocations: 2.857 MB / 0.6084 GB, free: 6.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.6476, allocations: 1.04 MB / 0.6094 GB, free: 5.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/0.6492, allocations: 0.9055 MB / 0.6103 GB, free: 4.762 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6493, allocations: 305.1 kB / 0.6106 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/0.6525, allocations: 2.031 MB / 0.6126 GB, free: 2.422 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00428/0.6568, allocations: 3.723 MB / 0.6162 GB, free: 13.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/0.6643, allocations: 6.041 MB / 0.6221 GB, free: 7.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.94e-05/0.6644, allocations: 16 kB / 0.6222 GB, free: 7.305 MB / 458.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01122/0.6756, allocations: 6.631 MB / 0.6286 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.6757, allocations: 28 kB / 0.6287 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.958e-05/0.6758, allocations: 56 kB / 0.6287 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.6777, allocations: 0.6799 MB / 0.6294 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004043/0.6817, allocations: 1.066 MB / 0.6304 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008204/0.6899, allocations: 5.787 MB / 0.6361 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.6937, allocations: 283.5 kB / 0.6363 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006148/0.6944, allocations: 228 kB / 0.6366 GB, free: 8.84 MB / 474.7 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.003633/0.698, allocations: 2.322 MB / 0.6388 GB, free: 6.582 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007274/0.6987, allocations: 320 kB / 0.6391 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/0.7063, allocations: 4.636 MB / 0.6437 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.7063, allocations: 28 kB / 0.6437 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.7063, allocations: 10.81 kB / 0.6437 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/0.7064, allocations: 19.94 kB / 0.6437 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.7254, allocations: 11.25 MB / 0.6547 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.7255, allocations: 4 kB / 0.6547 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/0.7275, allocations: 0.5294 MB / 0.6552 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.7291, allocations: 0.5659 MB / 0.6558 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.7293, allocations: 71.97 kB / 0.6558 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006686/0.736, allocations: 5.04 MB / 0.6608 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.736, allocations: 7.938 kB / 0.6608 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.7529, allocations: 11.81 MB / 0.6723 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/0.7548, allocations: 0.7233 MB / 0.673 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/0.7553, allocations: 60 kB / 0.6731 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.757, allocations: 154.1 kB / 0.6732 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004316/0.7574, allocations: 209.5 kB / 0.6734 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.7576, allocations: 91.97 kB / 0.6735 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002967/0.7606, allocations: 2.016 MB / 0.6755 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7606, allocations: 4 kB / 0.6755 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.1846/0.9452, allocations: 1.355 MB / 0.6768 GB, free: 189.9 MB / 0.4948 GB 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.0006869/0.9459, allocations: 230.8 kB / 0.677 GB, free: 189.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00728/0.9532, allocations: 5.017 MB / 0.6819 GB, free: 189.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.9533, allocations: 1.219 kB / 0.6819 GB, free: 189.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.957, allocations: 2.265 MB / 0.6841 GB, free: 188.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.9601, allocations: 0.6111 MB / 0.6847 GB, free: 188.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.9772, allocations: 15.47 MB / 0.6998 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/0.9806, allocations: 4.229 MB / 0.704 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003572/0.9842, allocations: 1.327 MB / 0.7053 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/0.985, allocations: 272.2 kB / 0.7055 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.985, allocations: 0 / 0.7055 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.06473/1.05, allocations: 47.55 MB / 0.752 GB, free: 134.2 MB / 0.4948 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile (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)