Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 101.9 kB / 16.4 MB, free: 6.461 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.325/1.325, allocations: 222.9 MB / 240.1 MB, free: 4.539 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.001595/0.001595, allocations: 188.4 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03355/0.03355, allocations: 8.805 MB / 349.3 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 79.88 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 51.56 MB / 0.5041 GB, free: 9.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2541/0.359, allocations: 25.41 MB / 0.5289 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.3751, allocations: 8.013 MB / 0.5367 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005149/0.3803, allocations: 177 kB / 0.5369 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01388/0.3942, allocations: 6.094 MB / 0.5428 GB, free: 4.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009044/0.4032, allocations: 2.748 MB / 0.5455 GB, free: 3.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00504/0.4083, allocations: 1.611 MB / 0.5471 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.4197, allocations: 7.28 MB / 0.5542 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02119/0.441, allocations: 13.34 MB / 0.5672 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006924/0.4479, allocations: 3.749 MB / 0.5709 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007984/0.456, allocations: 4.223 MB / 0.575 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003246/0.4592, allocations: 1.07 MB / 0.5761 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005613/0.4649, allocations: 1.435 MB / 0.5775 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004038/0.469, allocations: 2.145 MB / 0.5796 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.4791, allocations: 4.114 MB / 0.5836 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.4985, allocations: 14.44 MB / 0.5977 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.4986, allocations: 4 kB / 0.5977 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4986, allocations: 0 / 0.5977 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004278/0.499, allocations: 0 / 0.5977 GB, free: 14.98 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.02977/0.5288, allocations: 8.782 MB / 0.6063 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5289, allocations: 8.031 kB / 0.6063 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02616/0.555, allocations: 4.402 MB / 0.6106 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.568, allocations: 4.615 MB / 0.6151 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/0.5686, allocations: 487 kB / 0.6155 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/0.5717, allocations: 0.6254 MB / 0.6161 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.5997, allocations: 10.35 MB / 0.6263 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003516/0.6001, allocations: 7.906 kB / 0.6263 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002563/0.6027, allocations: 266 kB / 0.6265 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005397/0.6032, allocations: 421.6 kB / 0.6269 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/0.6267, allocations: 9.869 MB / 0.6366 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06676/0.6935, allocations: 35.3 MB / 0.671 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/0.7131, allocations: 20.66 MB / 0.6912 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/0.7173, allocations: 2.312 MB / 0.6935 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.7178, allocations: 227.4 kB / 0.6937 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.699e-05/0.7179, allocations: 64.89 kB / 0.6937 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.36e-06/0.7179, allocations: 0 / 0.6937 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.0241/0.742, allocations: 10.88 MB / 0.7044 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.7421, allocations: 81.78 kB / 0.7044 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00603/0.7481, allocations: 3.021 MB / 0.7074 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004359/0.7486, allocations: 77.7 kB / 0.7075 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002247/0.7509, allocations: 2.86 MB / 0.7103 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/0.7522, allocations: 1.038 MB / 0.7113 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/0.7545, allocations: 0.9016 MB / 0.7121 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.7546, allocations: 301.1 kB / 0.7124 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/0.7581, allocations: 2.027 MB / 0.7144 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/0.7629, allocations: 3.728 MB / 0.7181 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009109/0.772, allocations: 6.043 MB / 0.724 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-05/0.7721, allocations: 19.94 kB / 0.724 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01374/0.7859, allocations: 6.63 MB / 0.7305 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.786, allocations: 33.44 kB / 0.7305 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.7861, allocations: 56 kB / 0.7305 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.7882, allocations: 0.6663 MB / 0.7312 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2534/1.042, allocations: 1.069 MB / 0.7322 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008852/1.051, allocations: 6.219 MB / 0.7383 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/1.055, allocations: 283.5 kB / 0.7386 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000933/1.055, allocations: 230.6 kB / 0.7388 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.005153/1.061, allocations: 2.305 MB / 0.741 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.062, allocations: 323.4 kB / 0.7414 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.074, allocations: 4.635 MB / 0.7459 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-05/1.074, allocations: 30.84 kB / 0.7459 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.674e-05/1.074, allocations: 5.734 kB / 0.7459 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.281e-05/1.074, allocations: 16.97 kB / 0.7459 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/1.1, allocations: 11.08 MB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.1, allocations: 4.219 kB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/1.102, allocations: 0.5369 MB / 0.7573 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/1.104, allocations: 0.5619 MB / 0.7578 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003116/1.104, allocations: 74.42 kB / 0.7579 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/1.11, allocations: 5.452 MB / 0.7632 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.11, allocations: 7.906 kB / 0.7632 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009501/1.12, allocations: 6.584 MB / 0.7697 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.122, allocations: 0.7251 MB / 0.7704 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008013/1.123, allocations: 59.66 kB / 0.7704 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/1.125, allocations: 145.8 kB / 0.7706 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/1.125, allocations: 206 kB / 0.7708 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.125, allocations: 89.38 kB / 0.7709 GB, free: 153 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003896/1.129, allocations: 2.016 MB / 0.7728 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.129, allocations: 0 / 0.7728 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005034/1.134, allocations: 1.179 MB / 0.774 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.0005166/1.135, allocations: 226.6 kB / 0.7742 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007534/1.142, allocations: 5.042 MB / 0.7791 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.142, allocations: 1.5 kB / 0.7791 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00331/1.146, allocations: 2.27 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.004089/1.15, allocations: 0.6398 MB / 0.782 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.171, allocations: 10.85 MB / 0.7926 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005559/1.177, allocations: 4.032 MB / 0.7965 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.178, allocations: 315.3 kB / 0.7968 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/1.178, allocations: 0 / 0.7968 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1156/1.294, allocations: 106.6 MB / 0.9009 GB, free: 29.25 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1)