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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001098, allocations: 180.7 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.03818/0.03818, allocations: 8.795 MB / 25.53 MB, free: 3.746 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.262/1.262, allocations: 222.9 MB / 251.3 MB, free: 7.441 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.0009749/0.0009749, allocations: 110.5 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.91 kB / 366 MB, free: 188 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2592, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01867/0.2779, allocations: 25 MB / 442.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.2924, allocations: 7.95 MB / 450.5 MB, free: 3.836 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.2967, allocations: 163.6 kB / 450.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.309, allocations: 5.77 MB / 456.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006692/0.3157, allocations: 2.524 MB / 458.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.3195, allocations: 1.519 MB / 460.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008435/0.3279, allocations: 7.462 MB / 467.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.3436, allocations: 10.95 MB / 478.9 MB, free: 7.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.3481, allocations: 3.255 MB / 482.1 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.3537, allocations: 4.04 MB / 486.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001916/0.3557, allocations: 0.6992 MB / 486.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.3589, allocations: 1.062 MB / 487.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.3611, allocations: 1.764 MB / 489.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005545/0.3666, allocations: 3.722 MB / 493.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1882/0.5549, allocations: 14.1 MB / 0.4956 GB, free: 26.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5549, allocations: 0 / 0.4956 GB, free: 26.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5549, allocations: 0.8125 kB / 0.4956 GB, free: 26.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003654/0.5553, allocations: 0 / 0.4956 GB, free: 26.05 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.02468/0.58, allocations: 8.8 MB / 0.5042 GB, free: 23.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5801, allocations: 13.59 kB / 0.5042 GB, free: 23.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02253/0.6026, allocations: 4.379 MB / 0.5085 GB, free: 22.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00989/0.6125, allocations: 4.505 MB / 0.5129 GB, free: 21.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.6129, allocations: 496.1 kB / 0.5134 GB, free: 21.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/0.6154, allocations: 0.6278 MB / 0.514 GB, free: 21.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.6403, allocations: 10.36 MB / 0.5241 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/0.6406, allocations: 7.812 kB / 0.5241 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.6423, allocations: 265.6 kB / 0.5244 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003497/0.6427, allocations: 411.8 kB / 0.5248 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.6578, allocations: 9.861 MB / 0.5344 GB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.7114, allocations: 35.68 MB / 0.5692 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/0.7302, allocations: 20.67 MB / 0.5894 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.7341, allocations: 2.308 MB / 0.5917 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003886/0.7345, allocations: 222.5 kB / 0.5919 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.173e-05/0.7346, allocations: 64.89 kB / 0.5919 GB, free: 7.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 6.081e-06/0.7346, allocations: 0 / 0.5919 GB, free: 7.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.02374/0.7584, allocations: 10.87 MB / 0.6026 GB, free: 12.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.7585, allocations: 85.06 kB / 0.6026 GB, free: 12.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/0.7642, allocations: 3.021 MB / 0.6056 GB, free: 9.656 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004155/0.7647, allocations: 73.7 kB / 0.6057 GB, free: 9.578 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.7666, allocations: 2.865 MB / 0.6085 GB, free: 6.695 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.7677, allocations: 1.029 MB / 0.6095 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.7697, allocations: 0.9055 MB / 0.6103 GB, free: 4.758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.7698, allocations: 305.1 kB / 0.6106 GB, free: 4.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/0.773, allocations: 2.034 MB / 0.6126 GB, free: 2.418 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004253/0.7772, allocations: 3.726 MB / 0.6163 GB, free: 13.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007612/0.7849, allocations: 6.043 MB / 0.6222 GB, free: 7.312 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.228e-05/0.7849, allocations: 16 kB / 0.6222 GB, free: 7.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01201/0.797, allocations: 6.626 MB / 0.6286 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.7971, allocations: 30.34 kB / 0.6287 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.7972, allocations: 56 kB / 0.6287 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.7991, allocations: 0.6729 MB / 0.6294 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.8029, allocations: 1.066 MB / 0.6304 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/0.8111, allocations: 5.803 MB / 0.6361 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/0.8147, allocations: 279.5 kB / 0.6364 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006754/0.8154, allocations: 231.5 kB / 0.6366 GB, free: 8.832 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.003837/0.8193, allocations: 2.318 MB / 0.6388 GB, free: 6.574 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007992/0.8201, allocations: 320.1 kB / 0.6391 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007961/0.8281, allocations: 4.635 MB / 0.6437 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.8281, allocations: 32 kB / 0.6437 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.8281, allocations: 8 kB / 0.6437 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.8282, allocations: 15.94 kB / 0.6437 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.8481, allocations: 11.24 MB / 0.6547 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.8481, allocations: 5.969 kB / 0.6547 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002137/0.8503, allocations: 0.5282 MB / 0.6552 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.8519, allocations: 0.5755 MB / 0.6558 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/0.8522, allocations: 67.98 kB / 0.6559 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007114/0.8593, allocations: 5.043 MB / 0.6608 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.8594, allocations: 9.719 kB / 0.6608 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.8771, allocations: 11.81 MB / 0.6723 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.8788, allocations: 0.7233 MB / 0.673 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005044/0.8793, allocations: 56 kB / 0.6731 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.881, allocations: 151.9 kB / 0.6732 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/0.8814, allocations: 210.8 kB / 0.6734 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.8816, allocations: 87.98 kB / 0.6735 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003056/0.8847, allocations: 2.02 MB / 0.6755 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.282e-06/0.8847, allocations: 0 / 0.6755 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.1927/1.077, allocations: 1.361 MB / 0.6768 GB, free: 190.2 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.0005853/1.078, allocations: 223.8 kB / 0.677 GB, free: 190.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007354/1.085, allocations: 5.02 MB / 0.6819 GB, free: 189.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.085, allocations: 1.625 kB / 0.6819 GB, free: 189.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.089, allocations: 2.275 MB / 0.6842 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.0029/1.092, allocations: 0.6118 MB / 0.6848 GB, free: 188.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.107, allocations: 15.48 MB / 0.6999 GB, free: 180 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003049/1.11, allocations: 4.233 MB / 0.704 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003463/1.114, allocations: 1.334 MB / 0.7053 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/1.115, allocations: 277.1 kB / 0.7056 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/1.115, allocations: 0 / 0.7056 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.0612/1.176, allocations: 47.52 MB / 0.752 GB, free: 134.2 MB / 0.4948 GB 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)