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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 183.4 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.04864/0.04864, allocations: 8.794 MB / 25.53 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.265/1.265, allocations: 222.9 MB / 251.3 MB, free: 7.453 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.0009823/0.0009823, allocations: 106 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.89 kB / 366 MB, free: 156 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1795, allocations: 51.53 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01704/0.1966, allocations: 25.01 MB / 442.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.2096, allocations: 7.956 MB / 450.5 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.2126, allocations: 163.6 kB / 450.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.2238, allocations: 5.762 MB / 456.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006403/0.2303, allocations: 2.531 MB / 458.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.234, allocations: 1.517 MB / 460.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00827/0.2423, allocations: 7.47 MB / 467.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01543/0.2577, allocations: 10.94 MB / 478.9 MB, free: 7.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.2621, allocations: 3.255 MB / 482.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005632/0.2677, allocations: 4.036 MB / 486.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.2696, allocations: 0.6992 MB / 486.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.2727, allocations: 1.062 MB / 487.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002233/0.275, allocations: 1.768 MB / 489.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005557/0.2806, allocations: 3.722 MB / 493.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1825/0.4631, allocations: 14.1 MB / 0.4956 GB, free: 26.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4631, allocations: 0.75 kB / 0.4956 GB, free: 26.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4631, allocations: 1.188 kB / 0.4956 GB, free: 26.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002744/0.4634, allocations: 0.6875 kB / 0.4956 GB, free: 26.12 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.02077/0.4841, allocations: 8.804 MB / 0.5042 GB, free: 23.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4842, allocations: 9.781 kB / 0.5042 GB, free: 23.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/0.5061, allocations: 4.378 MB / 0.5085 GB, free: 22.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009537/0.5157, allocations: 4.511 MB / 0.5129 GB, free: 21.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.5161, allocations: 492.1 kB / 0.5134 GB, free: 21.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.518, allocations: 0.6315 MB / 0.514 GB, free: 21.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.5328, allocations: 10.35 MB / 0.5241 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.533, allocations: 11.81 kB / 0.5241 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000626/0.5336, allocations: 268.1 kB / 0.5244 GB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002859/0.5339, allocations: 409.5 kB / 0.5248 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.5478, allocations: 9.867 MB / 0.5344 GB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05626/0.6041, allocations: 35.68 MB / 0.5692 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01897/0.6231, allocations: 20.67 MB / 0.5894 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003739/0.6269, allocations: 2.3 MB / 0.5917 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.6273, allocations: 226.3 kB / 0.5919 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/0.6274, allocations: 72.53 kB / 0.5919 GB, free: 7.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 6.382e-06/0.6274, allocations: 0 / 0.5919 GB, free: 7.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.02285/0.6503, allocations: 10.86 MB / 0.6026 GB, free: 12.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.6504, allocations: 85.06 kB / 0.6026 GB, free: 12.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/0.6554, allocations: 3.025 MB / 0.6056 GB, free: 9.656 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003835/0.6558, allocations: 73.7 kB / 0.6057 GB, free: 9.578 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.6578, allocations: 2.861 MB / 0.6085 GB, free: 6.699 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.659, allocations: 1.038 MB / 0.6095 GB, free: 5.672 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/0.6607, allocations: 0.9087 MB / 0.6104 GB, free: 4.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6609, allocations: 307.3 kB / 0.6106 GB, free: 4.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/0.6642, allocations: 2.023 MB / 0.6126 GB, free: 2.422 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004457/0.6686, allocations: 3.728 MB / 0.6163 GB, free: 13.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007863/0.6765, allocations: 6.044 MB / 0.6222 GB, free: 7.312 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-05/0.6766, allocations: 16 kB / 0.6222 GB, free: 7.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01204/0.6887, allocations: 6.625 MB / 0.6286 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.6888, allocations: 30.19 kB / 0.6287 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.6889, allocations: 56 kB / 0.6287 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.6908, allocations: 0.6688 MB / 0.6294 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.6946, allocations: 1.07 MB / 0.6304 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008272/0.7029, allocations: 5.795 MB / 0.6361 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/0.7066, allocations: 275.5 kB / 0.6364 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007355/0.7073, allocations: 236 kB / 0.6366 GB, free: 8.836 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.004416/0.7118, allocations: 2.311 MB / 0.6388 GB, free: 6.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009144/0.7127, allocations: 324 kB / 0.6391 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008257/0.721, allocations: 4.634 MB / 0.6437 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.721, allocations: 34.3 kB / 0.6437 GB, free: 1.566 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.721, allocations: 12 kB / 0.6437 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.7211, allocations: 15.94 kB / 0.6437 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/0.7411, allocations: 11.25 MB / 0.6547 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.7411, allocations: 4 kB / 0.6547 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.7432, allocations: 0.5332 MB / 0.6552 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.7447, allocations: 0.5659 MB / 0.6558 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.745, allocations: 75.97 kB / 0.6559 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006597/0.7516, allocations: 5.027 MB / 0.6608 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.7516, allocations: 14.66 kB / 0.6608 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/0.7687, allocations: 11.81 MB / 0.6723 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/0.7704, allocations: 0.7311 MB / 0.673 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/0.7709, allocations: 56 kB / 0.6731 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.7726, allocations: 155.9 kB / 0.6732 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/0.7731, allocations: 201.7 kB / 0.6734 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.7733, allocations: 91.98 kB / 0.6735 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002942/0.7762, allocations: 2.02 MB / 0.6755 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7763, allocations: 0 / 0.6755 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.1838/0.9601, allocations: 1.359 MB / 0.6768 GB, free: 190 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.0006861/0.9608, allocations: 227 kB / 0.677 GB, free: 189.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00741/0.9682, allocations: 5.021 MB / 0.6819 GB, free: 189.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9682, allocations: 0 / 0.6819 GB, free: 189.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003426/0.9716, allocations: 2.267 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.002903/0.9746, allocations: 0.6095 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.02531/0.9999, allocations: 15.48 MB / 0.6999 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005818/1.006, allocations: 4.224 MB / 0.704 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006771/1.013, allocations: 1.337 MB / 0.7053 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.014, allocations: 270.2 kB / 0.7056 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.754e-06/1.014, allocations: 0 / 0.7056 GB, free: 178.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.09878/1.113, allocations: 47.53 MB / 0.752 GB, free: 134.2 MB / 0.4948 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)