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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.000904, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.504 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.0009655/0.0009657, allocations: 184.4 kB / 291.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03497/0.03497, allocations: 8.816 MB / 351.2 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 11.83 kB / 414.5 MB, free: 42.71 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06615/0.06649, allocations: 52.56 MB / 467 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02202/0.08854, allocations: 23.93 MB / 491 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1014, allocations: 7.848 MB / 498.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.1037, allocations: 167.5 kB / 499 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.1068, allocations: 1.544 MB / 0.4888 GB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.1124, allocations: 2.494 MB / 0.4912 GB, free: 9.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.1151, allocations: 1.321 MB / 0.4925 GB, free: 7.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007159/0.1223, allocations: 7.354 MB / 0.4997 GB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/0.1413, allocations: 13.4 MB / 0.5128 GB, free: 2.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.1448, allocations: 2.681 MB / 0.5154 GB, free: 88 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.1493, allocations: 3.303 MB / 0.5186 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.1505, allocations: 428 kB / 0.519 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.1528, allocations: 0.8003 MB / 0.5198 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.1539, allocations: 1.37 MB / 0.5212 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.157, allocations: 3.283 MB / 0.5244 GB, free: 6.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1679/0.3249, allocations: 12.13 MB / 0.5362 GB, free: 23.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3249, allocations: 3.625 kB / 0.5362 GB, free: 23.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.325, allocations: 0 / 0.5362 GB, free: 23.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002243/0.3252, allocations: 0 / 0.5362 GB, free: 23.43 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.01707/0.3423, allocations: 7.387 MB / 0.5434 GB, free: 21.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3423, allocations: 9.594 kB / 0.5434 GB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02395/0.3663, allocations: 4.406 MB / 0.5477 GB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.3729, allocations: 4.518 MB / 0.5521 GB, free: 18.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.3733, allocations: 492.9 kB / 0.5526 GB, free: 18.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.3744, allocations: 0.6335 MB / 0.5532 GB, free: 18.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.3884, allocations: 10.35 MB / 0.5633 GB, free: 16.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.3885, allocations: 10.47 kB / 0.5633 GB, free: 16.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000694/0.3892, allocations: 270.6 kB / 0.5636 GB, free: 16.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/0.3895, allocations: 414.8 kB / 0.564 GB, free: 16.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.4024, allocations: 9.858 MB / 0.5736 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04176/0.4442, allocations: 35.79 MB / 0.6086 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/0.4623, allocations: 20.64 MB / 0.6287 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/0.4656, allocations: 2.308 MB / 0.631 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.4659, allocations: 229.4 kB / 0.6312 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.4659, allocations: 64.36 kB / 0.6313 GB, free: 15.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 4.448e-06/0.4659, allocations: 0 / 0.6313 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02008/0.486, allocations: 10.88 MB / 0.6419 GB, free: 4.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.4861, allocations: 85.44 kB / 0.642 GB, free: 3.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.4901, allocations: 3.033 MB / 0.6449 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.4903, allocations: 73.7 kB / 0.645 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.4921, allocations: 2.857 MB / 0.6478 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/0.4928, allocations: 1.035 MB / 0.6488 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/0.4934, allocations: 367.8 kB / 0.6492 GB, free: 12.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.4935, allocations: 301.1 kB / 0.6494 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.4964, allocations: 2.024 MB / 0.6514 GB, free: 10.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/0.5005, allocations: 3.728 MB / 0.6551 GB, free: 5.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007264/0.5077, allocations: 6.047 MB / 0.661 GB, free: 15.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.5078, allocations: 16 kB / 0.661 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0103/0.5181, allocations: 6.63 MB / 0.6675 GB, free: 8.785 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.5181, allocations: 34.03 kB / 0.6675 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/0.5182, allocations: 52 kB / 0.6675 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/0.5201, allocations: 0.6642 MB / 0.6682 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.5239, allocations: 1.071 MB / 0.6692 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.5323, allocations: 5.812 MB / 0.6749 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.5351, allocations: 271.5 kB / 0.6752 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/0.5355, allocations: 232 kB / 0.6754 GB, free: 0.6406 MB / 462.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 (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.003302/0.5388, allocations: 2.317 MB / 0.6777 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.5393, allocations: 320 kB / 0.678 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008/0.5473, allocations: 4.632 MB / 0.6825 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.5473, allocations: 32 kB / 0.6825 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5474, allocations: 8 kB / 0.6825 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/0.5474, allocations: 19.94 kB / 0.6825 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.5643, allocations: 11.27 MB / 0.6935 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.5643, allocations: 4 kB / 0.6935 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/0.5666, allocations: 0.5318 MB / 0.6941 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.5683, allocations: 0.5684 MB / 0.6946 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/0.5685, allocations: 71.97 kB / 0.6947 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007227/0.5757, allocations: 5.036 MB / 0.6996 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.5757, allocations: 15.12 kB / 0.6996 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009606/0.5854, allocations: 6.581 MB / 0.7061 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.5866, allocations: 0.7467 MB / 0.7068 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004346/0.587, allocations: 60 kB / 0.7068 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1642/0.7512, allocations: 148.8 kB / 0.707 GB, free: 174.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006347/0.7519, allocations: 202.3 kB / 0.7072 GB, free: 174.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.7521, allocations: 87.83 kB / 0.7073 GB, free: 174.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002741/0.7548, allocations: 2.026 MB / 0.7092 GB, free: 174.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7548, allocations: 2.344 kB / 0.7092 GB, free: 174.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003463/0.7583, allocations: 1.168 MB / 0.7104 GB, free: 174.6 MB / 494.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 (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.0003875/0.7587, allocations: 225.5 kB / 0.7106 GB, free: 174.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007262/0.766, allocations: 5.028 MB / 0.7155 GB, free: 174.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.766, allocations: 1.406 kB / 0.7155 GB, free: 174.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003389/0.7694, allocations: 2.272 MB / 0.7177 GB, free: 173.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/0.7739, allocations: 0.6096 MB / 0.7183 GB, free: 173.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.7884, allocations: 13.75 MB / 0.7317 GB, free: 166.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.7914, allocations: 4.039 MB / 0.7357 GB, free: 164.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.7925, allocations: 310.3 kB / 0.736 GB, free: 164.6 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7925, allocations: 4 kB / 0.736 GB, free: 164.6 MB / 494.1 MB Notification: Performance of Templates: time 0.08706/0.8795, allocations: 105.1 MB / 0.8386 GB, free: 65.79 MB / 494.1 MB 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)