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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.228/1.228, allocations: 222.9 MB / 238.9 MB, free: 4.73 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.001264/0.001264, allocations: 184.5 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03174/0.03174, allocations: 8.786 MB / 348.1 MB, free: 4.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 72.75 kB / 410.4 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06852/0.06977, allocations: 51.57 MB / 462 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02252/0.09233, allocations: 24.98 MB / 486.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1062, allocations: 7.94 MB / 494.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/0.1101, allocations: 167.5 kB / 495 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.1219, allocations: 5.774 MB / 0.4891 GB, free: 7.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006684/0.1286, allocations: 2.514 MB / 0.4915 GB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.1322, allocations: 1.518 MB / 0.493 GB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008001/0.1402, allocations: 7.366 MB / 0.5002 GB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.155, allocations: 10.94 MB / 0.5109 GB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.159, allocations: 3.244 MB / 0.5141 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.1641, allocations: 4.04 MB / 0.518 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002256/0.1664, allocations: 0.6992 MB / 0.5187 GB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.1696, allocations: 1.062 MB / 0.5197 GB, free: 8.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.1717, allocations: 1.768 MB / 0.5215 GB, free: 6.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004544/0.1763, allocations: 3.722 MB / 0.5251 GB, free: 2.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1714/0.3477, allocations: 14.1 MB / 0.5389 GB, free: 27.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3477, allocations: 2.156 kB / 0.5389 GB, free: 27.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3478, allocations: 0.8125 kB / 0.5389 GB, free: 27.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003453/0.3481, allocations: 1.281 kB / 0.5389 GB, free: 27.13 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.02166/0.3698, allocations: 8.799 MB / 0.5475 GB, free: 23.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3698, allocations: 10.75 kB / 0.5475 GB, free: 23.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/0.3932, allocations: 4.381 MB / 0.5517 GB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.4036, allocations: 4.504 MB / 0.5561 GB, free: 20.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/0.4042, allocations: 492 kB / 0.5566 GB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002704/0.4069, allocations: 0.6323 MB / 0.5572 GB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.4288, allocations: 10.35 MB / 0.5673 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.429, allocations: 9.188 kB / 0.5673 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008159/0.4299, allocations: 267.8 kB / 0.5676 GB, free: 17.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003104/0.4302, allocations: 413.5 kB / 0.568 GB, free: 16.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/0.4469, allocations: 9.862 MB / 0.5776 GB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05609/0.503, allocations: 35.68 MB / 0.6125 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/0.5226, allocations: 20.67 MB / 0.6327 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004457/0.5271, allocations: 2.289 MB / 0.6349 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.5276, allocations: 233.2 kB / 0.6351 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.744e-05/0.5277, allocations: 64.89 kB / 0.6352 GB, free: 12.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 6.141e-06/0.5277, allocations: 0 / 0.6352 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.0234/0.5512, allocations: 10.87 MB / 0.6458 GB, free: 1.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.5512, allocations: 91.97 kB / 0.6459 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005576/0.5568, allocations: 3.025 MB / 0.6488 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004638/0.5573, allocations: 73.7 kB / 0.6489 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.5592, allocations: 2.866 MB / 0.6517 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.5604, allocations: 1.035 MB / 0.6527 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/0.5626, allocations: 0.9016 MB / 0.6536 GB, free: 9.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5628, allocations: 305.1 kB / 0.6539 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.5659, allocations: 2.02 MB / 0.6558 GB, free: 6.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004003/0.5699, allocations: 3.732 MB / 0.6595 GB, free: 2.215 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007164/0.5771, allocations: 6.039 MB / 0.6654 GB, free: 11.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-05/0.5771, allocations: 16 kB / 0.6654 GB, free: 11.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01041/0.5876, allocations: 6.636 MB / 0.6719 GB, free: 5.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.5876, allocations: 28 kB / 0.6719 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.54e-05/0.5877, allocations: 60.22 kB / 0.672 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.5895, allocations: 0.6563 MB / 0.6726 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/0.5932, allocations: 1.065 MB / 0.6737 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008252/0.6014, allocations: 5.808 MB / 0.6793 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/0.6051, allocations: 283.5 kB / 0.6796 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/0.606, allocations: 228 kB / 0.6798 GB, free: 13.12 MB / 478.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.004696/0.6107, allocations: 2.314 MB / 0.6821 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009536/0.6116, allocations: 328 kB / 0.6824 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00862/0.6203, allocations: 4.629 MB / 0.6869 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.6203, allocations: 32 kB / 0.6869 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/0.6204, allocations: 8 kB / 0.6869 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/0.6204, allocations: 15.94 kB / 0.687 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/0.6435, allocations: 11.26 MB / 0.698 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.6436, allocations: 8.125 kB / 0.698 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/0.6461, allocations: 0.5325 MB / 0.6985 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.6479, allocations: 0.5683 MB / 0.699 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000556/0.6485, allocations: 67.98 kB / 0.6991 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/0.6558, allocations: 5.022 MB / 0.704 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.6559, allocations: 19.11 kB / 0.704 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1844/0.8403, allocations: 6.579 MB / 0.7104 GB, free: 175.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.8422, allocations: 0.7202 MB / 0.7112 GB, free: 175.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/0.8428, allocations: 63.36 kB / 0.7112 GB, free: 175.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.8443, allocations: 146.6 kB / 0.7114 GB, free: 175.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/0.8448, allocations: 205.4 kB / 0.7115 GB, free: 175.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/0.845, allocations: 94.08 kB / 0.7116 GB, free: 175.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003129/0.8481, allocations: 2.017 MB / 0.7136 GB, free: 175.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8481, allocations: 1.75 kB / 0.7136 GB, free: 175.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004683/0.8528, allocations: 1.172 MB / 0.7148 GB, free: 175.1 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.0005132/0.8533, allocations: 228.6 kB / 0.715 GB, free: 175 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007184/0.8605, allocations: 5.027 MB / 0.7199 GB, free: 173.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.8605, allocations: 0 / 0.7199 GB, free: 173.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.8635, allocations: 2.264 MB / 0.7221 GB, free: 172.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.8666, allocations: 0.6184 MB / 0.7227 GB, free: 172.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.8841, allocations: 13.8 MB / 0.7362 GB, free: 164.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/0.8874, allocations: 4.151 MB / 0.7402 GB, free: 162.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003505/0.8909, allocations: 1.333 MB / 0.7415 GB, free: 162.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.8917, allocations: 272.6 kB / 0.7418 GB, free: 162.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8917, allocations: 3.594 kB / 0.7418 GB, free: 162.5 MB / 494.1 MB Notification: Performance of Templates: time 0.06177/0.9535, allocations: 46.11 MB / 0.7868 GB, free: 119.8 MB / 494.1 MB 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)