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.00124/0.00124, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.371/1.371, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001415/0.001415, allocations: 196.4 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03374/0.03374, allocations: 8.797 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.88 kB / 464.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1, allocations: 51.56 MB / 0.5041 GB, free: 9.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2419/0.342, allocations: 25.43 MB / 0.5289 GB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3613, allocations: 8.018 MB / 0.5368 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00627/0.3676, allocations: 174.5 kB / 0.5369 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01424/0.382, allocations: 6.098 MB / 0.5429 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.3921, allocations: 2.737 MB / 0.5456 GB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.397, allocations: 1.621 MB / 0.5471 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01169/0.4088, allocations: 7.277 MB / 0.5542 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02298/0.4318, allocations: 13.34 MB / 0.5673 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007491/0.4393, allocations: 3.749 MB / 0.5709 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008308/0.4477, allocations: 4.223 MB / 0.5751 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003522/0.4513, allocations: 1.07 MB / 0.5761 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.457, allocations: 1.434 MB / 0.5775 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003683/0.4607, allocations: 2.146 MB / 0.5796 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008617/0.4694, allocations: 4.115 MB / 0.5836 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.4879, allocations: 14.44 MB / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.488, allocations: 3.984 kB / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.488, allocations: 0 / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004921/0.4885, allocations: 0 / 0.5977 GB, free: 15 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.02837/0.5169, allocations: 8.771 MB / 0.6063 GB, free: 6.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5169, allocations: 12.03 kB / 0.6063 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/0.5407, allocations: 4.398 MB / 0.6106 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.5522, allocations: 4.613 MB / 0.6151 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004682/0.5527, allocations: 484.9 kB / 0.6156 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002821/0.5555, allocations: 0.6328 MB / 0.6162 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.5823, allocations: 10.35 MB / 0.6263 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.5826, allocations: 7.906 kB / 0.6263 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/0.5847, allocations: 268.5 kB / 0.6266 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004483/0.5852, allocations: 421.7 kB / 0.627 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/0.6066, allocations: 9.868 MB / 0.6366 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06337/0.67, allocations: 35.29 MB / 0.6711 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02071/0.6908, allocations: 20.66 MB / 0.6912 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004035/0.6948, allocations: 2.316 MB / 0.6935 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/0.6952, allocations: 232 kB / 0.6937 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.6953, allocations: 68.89 kB / 0.6938 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.129e-06/0.6953, allocations: 0 / 0.6938 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.0206/0.7159, allocations: 10.87 MB / 0.7044 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.7161, allocations: 85.78 kB / 0.7045 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/0.7207, allocations: 3.025 MB / 0.7074 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003065/0.721, allocations: 69.7 kB / 0.7075 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.723, allocations: 2.864 MB / 0.7103 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.7241, allocations: 1.035 MB / 0.7113 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.7254, allocations: 0.9016 MB / 0.7122 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.7256, allocations: 301.1 kB / 0.7125 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003034/0.7287, allocations: 2.031 MB / 0.7145 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/0.733, allocations: 3.72 MB / 0.7181 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007643/0.7407, allocations: 6.047 MB / 0.724 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.223e-05/0.7408, allocations: 16 kB / 0.724 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01141/0.7522, allocations: 6.63 MB / 0.7305 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.7523, allocations: 28 kB / 0.7305 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.7524, allocations: 56 kB / 0.7306 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.7542, allocations: 0.6759 MB / 0.7312 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.279/1.033, allocations: 1.062 MB / 0.7323 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008249/1.042, allocations: 6.222 MB / 0.7383 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/1.045, allocations: 278.3 kB / 0.7386 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008327/1.046, allocations: 232.5 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.004735/1.051, allocations: 2.313 MB / 0.7411 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/1.052, allocations: 325.9 kB / 0.7414 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008043/1.06, allocations: 4.624 MB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/1.06, allocations: 29.88 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.06, allocations: 9.047 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/1.06, allocations: 15.47 kB / 0.746 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.08, allocations: 11.09 MB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.08, allocations: 5.406 kB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.082, allocations: 0.5315 MB / 0.7573 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/1.084, allocations: 0.5667 MB / 0.7579 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/1.084, allocations: 67.39 kB / 0.7579 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00626/1.09, allocations: 5.463 MB / 0.7633 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.09, allocations: 7.906 kB / 0.7633 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/1.099, allocations: 6.584 MB / 0.7697 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.101, allocations: 0.7241 MB / 0.7704 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005379/1.102, allocations: 59.72 kB / 0.7705 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.103, allocations: 147.7 kB / 0.7706 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/1.104, allocations: 205.6 kB / 0.7708 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.104, allocations: 92.48 kB / 0.7709 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002635/1.106, allocations: 2.019 MB / 0.7729 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.106, allocations: 0 / 0.7729 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003934/1.11, allocations: 1.17 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.0004698/1.111, allocations: 226.7 kB / 0.7742 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00704/1.118, allocations: 5.046 MB / 0.7792 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.118, allocations: 3.719 kB / 0.7792 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/1.121, allocations: 2.254 MB / 0.7814 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.003122/1.124, allocations: 0.647 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.01628/1.141, allocations: 10.84 MB / 0.7926 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/1.144, allocations: 4.04 MB / 0.7965 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.145, allocations: 311.4 kB / 0.7968 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.145, allocations: 4 kB / 0.7968 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1017/1.247, allocations: 106.6 MB / 0.9009 GB, free: 29.25 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)