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.001274/0.001274, allocations: 105.6 kB / 16.41 MB, free: 6.465 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.398/1.398, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001893/0.001893, allocations: 196.5 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03396/0.03396, allocations: 8.793 MB / 349.3 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 75.88 kB / 464.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09882, allocations: 51.57 MB / 0.5041 GB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2492/0.348, allocations: 25.42 MB / 0.5289 GB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.3622, allocations: 8.015 MB / 0.5368 GB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005234/0.3675, allocations: 173.7 kB / 0.5369 GB, free: 4.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01367/0.3812, allocations: 6.102 MB / 0.5429 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009295/0.3905, allocations: 2.738 MB / 0.5456 GB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.3956, allocations: 1.619 MB / 0.5471 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.4069, allocations: 7.278 MB / 0.5542 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02359/0.4305, allocations: 13.31 MB / 0.5672 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007462/0.438, allocations: 3.753 MB / 0.5709 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008126/0.4462, allocations: 4.213 MB / 0.575 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.4494, allocations: 1.074 MB / 0.5761 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005315/0.4548, allocations: 1.436 MB / 0.5775 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004601/0.4594, allocations: 2.147 MB / 0.5796 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009344/0.4688, allocations: 4.114 MB / 0.5836 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.4871, allocations: 14.44 MB / 0.5977 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4872, allocations: 0 / 0.5977 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4872, allocations: 0 / 0.5977 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004349/0.4876, allocations: 4 kB / 0.5977 GB, free: 14.87 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.02963/0.5173, allocations: 8.77 MB / 0.6063 GB, free: 6.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5173, allocations: 8.031 kB / 0.6063 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02557/0.5429, allocations: 4.404 MB / 0.6106 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.5537, allocations: 4.623 MB / 0.6151 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000557/0.5543, allocations: 481.5 kB / 0.6155 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/0.5572, allocations: 0.6323 MB / 0.6162 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.5851, allocations: 10.35 MB / 0.6263 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.5854, allocations: 11.91 kB / 0.6263 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.5871, allocations: 263.8 kB / 0.6265 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004294/0.5876, allocations: 425.6 kB / 0.6269 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.6081, allocations: 9.868 MB / 0.6366 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/0.6666, allocations: 35.29 MB / 0.671 GB, free: 2.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/0.6862, allocations: 20.67 MB / 0.6912 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003875/0.6901, allocations: 2.307 MB / 0.6935 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.6905, allocations: 231.6 kB / 0.6937 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.6906, allocations: 60.89 kB / 0.6938 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.739e-06/0.6906, allocations: 0 / 0.6938 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02132/0.7119, allocations: 10.88 MB / 0.7044 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.712, allocations: 81.78 kB / 0.7045 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/0.7166, allocations: 3.025 MB / 0.7074 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004814/0.7171, allocations: 69.7 kB / 0.7075 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.7191, allocations: 2.861 MB / 0.7103 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.7203, allocations: 1.036 MB / 0.7113 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.7217, allocations: 0.9055 MB / 0.7122 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7218, allocations: 301.1 kB / 0.7125 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/0.7248, allocations: 2.031 MB / 0.7144 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004198/0.7291, allocations: 3.724 MB / 0.7181 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/0.7369, allocations: 6.047 MB / 0.724 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.064e-05/0.737, allocations: 16 kB / 0.724 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01168/0.7487, allocations: 6.618 MB / 0.7305 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.7487, allocations: 28 kB / 0.7305 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.755e-05/0.7489, allocations: 56 kB / 0.7305 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.7507, allocations: 0.6744 MB / 0.7312 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2603/1.011, allocations: 1.067 MB / 0.7322 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008395/1.019, allocations: 6.221 MB / 0.7383 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/1.023, allocations: 284.2 kB / 0.7386 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007933/1.024, allocations: 226.5 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.0048/1.029, allocations: 2.316 MB / 0.7411 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008637/1.03, allocations: 323.1 kB / 0.7414 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008332/1.038, allocations: 4.631 MB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/1.038, allocations: 32.36 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.038, allocations: 6.625 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/1.038, allocations: 17.34 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.058, allocations: 11.08 MB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.058, allocations: 4.25 kB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.06, allocations: 0.5304 MB / 0.7573 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/1.062, allocations: 0.5682 MB / 0.7578 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/1.062, allocations: 69.09 kB / 0.7579 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/1.068, allocations: 5.46 MB / 0.7632 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.068, allocations: 7.938 kB / 0.7633 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00869/1.077, allocations: 6.582 MB / 0.7697 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.079, allocations: 0.7224 MB / 0.7704 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004968/1.079, allocations: 57.86 kB / 0.7704 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.081, allocations: 151.5 kB / 0.7706 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/1.081, allocations: 203.3 kB / 0.7708 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.081, allocations: 89.02 kB / 0.7709 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00268/1.084, allocations: 2.019 MB / 0.7728 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/1.084, allocations: 2.516 kB / 0.7728 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004213/1.088, allocations: 1.172 MB / 0.774 GB, free: 152.2 MB / 0.5294 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.0005047/1.089, allocations: 237.1 kB / 0.7742 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007056/1.096, allocations: 5.033 MB / 0.7791 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/1.096, allocations: 4.25 kB / 0.7791 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003245/1.099, allocations: 2.269 MB / 0.7813 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.102, allocations: 0.6483 MB / 0.782 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.119, allocations: 10.84 MB / 0.7926 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.122, allocations: 4.036 MB / 0.7965 GB, free: 136 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.123, allocations: 311.4 kB / 0.7968 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of SimCode: time 8.61e-07/1.123, allocations: 4 kB / 0.7968 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1057/1.229, allocations: 106.6 MB / 0.9009 GB, free: 29.15 MB / 0.5294 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)