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.007522/0.007522, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.424/1.424, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001286/0.001286, allocations: 200.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03619/0.03619, allocations: 8.789 MB / 348.6 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 91.86 kB / 464 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1032, allocations: 51.55 MB / 0.5034 GB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.261/0.3643, allocations: 25.43 MB / 0.5283 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.3797, allocations: 8.017 MB / 0.5361 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006731/0.3865, allocations: 172.1 kB / 0.5363 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.4008, allocations: 6.108 MB / 0.5422 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009383/0.4102, allocations: 2.74 MB / 0.5449 GB, free: 3.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005487/0.4157, allocations: 1.605 MB / 0.5465 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.4271, allocations: 7.281 MB / 0.5536 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02138/0.4485, allocations: 13.36 MB / 0.5666 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007672/0.4562, allocations: 3.752 MB / 0.5703 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008447/0.4647, allocations: 4.222 MB / 0.5744 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003771/0.4685, allocations: 1.074 MB / 0.5754 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00573/0.4743, allocations: 1.424 MB / 0.5768 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003674/0.478, allocations: 2.151 MB / 0.5789 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007431/0.4854, allocations: 4.119 MB / 0.583 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.5015, allocations: 14.44 MB / 0.5971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5015, allocations: 0 / 0.5971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5015, allocations: 0 / 0.5971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003523/0.5019, allocations: 0 / 0.5971 GB, free: 15.02 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.02859/0.5305, allocations: 8.781 MB / 0.6056 GB, free: 6.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5306, allocations: 8.031 kB / 0.6056 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02569/0.5563, allocations: 4.405 MB / 0.6099 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5667, allocations: 4.609 MB / 0.6144 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/0.5672, allocations: 487.1 kB / 0.6149 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/0.5705, allocations: 0.6273 MB / 0.6155 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02901/0.5995, allocations: 10.35 MB / 0.6256 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.5998, allocations: 11.89 kB / 0.6256 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/0.6013, allocations: 266.9 kB / 0.6259 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004676/0.6018, allocations: 417.7 kB / 0.6263 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.6254, allocations: 9.868 MB / 0.6359 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06935/0.6948, allocations: 35.3 MB / 0.6704 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/0.716, allocations: 20.66 MB / 0.6906 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004171/0.7203, allocations: 2.311 MB / 0.6928 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003652/0.7207, allocations: 231.8 kB / 0.6931 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.7207, allocations: 56.89 kB / 0.6931 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.628e-06/0.7207, allocations: 0 / 0.6931 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02252/0.7433, allocations: 10.88 MB / 0.7037 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.7434, allocations: 81.78 kB / 0.7038 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.7485, allocations: 3.021 MB / 0.7068 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004119/0.7489, allocations: 69.7 kB / 0.7068 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.7509, allocations: 2.871 MB / 0.7096 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009372/0.7518, allocations: 1.03 MB / 0.7106 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.753, allocations: 0.9055 MB / 0.7115 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.7531, allocations: 301.1 kB / 0.7118 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.756, allocations: 2.027 MB / 0.7138 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/0.7599, allocations: 3.724 MB / 0.7174 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007261/0.7672, allocations: 6.039 MB / 0.7233 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.312e-05/0.7673, allocations: 20 kB / 0.7234 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01101/0.7783, allocations: 6.632 MB / 0.7298 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/0.7784, allocations: 29.56 kB / 0.7299 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.954e-05/0.7785, allocations: 60.22 kB / 0.7299 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.7803, allocations: 0.6755 MB / 0.7306 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.247/1.027, allocations: 1.059 MB / 0.7316 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008437/1.036, allocations: 6.221 MB / 0.7377 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.04, allocations: 284.6 kB / 0.738 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006616/1.04, allocations: 226.7 kB / 0.7382 GB, free: 164.9 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.004423/1.045, allocations: 2.312 MB / 0.7404 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007713/1.046, allocations: 324 kB / 0.7407 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008797/1.054, allocations: 4.626 MB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/1.054, allocations: 29.44 kB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.054, allocations: 6.312 kB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/1.054, allocations: 19.7 kB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.073, allocations: 11.08 MB / 0.7561 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.073, allocations: 5.5 kB / 0.7561 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/1.076, allocations: 0.5374 MB / 0.7567 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/1.077, allocations: 0.5636 MB / 0.7572 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/1.077, allocations: 69.66 kB / 0.7573 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/1.084, allocations: 5.454 MB / 0.7626 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.084, allocations: 11.88 kB / 0.7626 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009536/1.093, allocations: 6.586 MB / 0.769 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/1.095, allocations: 0.7207 MB / 0.7698 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005803/1.096, allocations: 59.64 kB / 0.7698 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/1.098, allocations: 144 kB / 0.7699 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/1.098, allocations: 211.6 kB / 0.7701 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.099, allocations: 89.25 kB / 0.7702 GB, free: 153 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003088/1.102, allocations: 2.02 MB / 0.7722 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.102, allocations: 0 / 0.7722 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004395/1.106, allocations: 1.172 MB / 0.7734 GB, free: 152.1 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.0005486/1.107, allocations: 229.2 kB / 0.7736 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008092/1.115, allocations: 5.047 MB / 0.7785 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.115, allocations: 0 / 0.7785 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/1.119, allocations: 2.266 MB / 0.7807 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.00384/1.122, allocations: 0.6443 MB / 0.7813 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.141, allocations: 10.98 MB / 0.7921 GB, free: 140 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/1.145, allocations: 4.15 MB / 0.7961 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003347/1.148, allocations: 1.326 MB / 0.7974 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/1.149, allocations: 275.4 kB / 0.7977 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/1.149, allocations: 0 / 0.7977 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.0669/1.216, allocations: 45.26 MB / 0.8419 GB, free: 89.26 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)