Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004978/0.004978, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.411/1.411, allocations: 222.9 MB / 239.4 MB, free: 4.566 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.001332/0.001332, allocations: 192.5 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03452/0.03452, allocations: 8.792 MB / 348.6 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 79.81 kB / 463.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 51.58 MB / 0.5034 GB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.3024/0.4084, allocations: 25.4 MB / 0.5283 GB, free: 4.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.4265, allocations: 8.018 MB / 0.5361 GB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006284/0.4329, allocations: 177.9 kB / 0.5363 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01388/0.4468, allocations: 6.1 MB / 0.5422 GB, free: 4.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.4583, allocations: 2.747 MB / 0.5449 GB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005882/0.4642, allocations: 1.611 MB / 0.5465 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.4754, allocations: 7.282 MB / 0.5536 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/0.497, allocations: 13.35 MB / 0.5666 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006922/0.504, allocations: 3.748 MB / 0.5703 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008406/0.5124, allocations: 4.222 MB / 0.5744 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002946/0.5154, allocations: 1.074 MB / 0.5754 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.5208, allocations: 1.429 MB / 0.5768 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.5235, allocations: 2.15 MB / 0.5789 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005701/0.5292, allocations: 4.11 MB / 0.583 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.5453, allocations: 14.45 MB / 0.5971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5453, allocations: 0 / 0.5971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5454, allocations: 0 / 0.5971 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003854/0.5457, 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.02727/0.573, allocations: 8.783 MB / 0.6056 GB, free: 6.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5731, allocations: 12.02 kB / 0.6056 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02609/0.5992, allocations: 4.398 MB / 0.6099 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009934/0.6092, allocations: 4.615 MB / 0.6144 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.6096, allocations: 484.8 kB / 0.6149 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002039/0.6116, allocations: 0.6291 MB / 0.6155 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.633, allocations: 10.35 MB / 0.6256 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/0.6332, allocations: 11.84 kB / 0.6256 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00083/0.634, allocations: 279.6 kB / 0.6259 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003858/0.6344, allocations: 417.7 kB / 0.6263 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.6526, allocations: 9.862 MB / 0.6359 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06309/0.7157, allocations: 35.3 MB / 0.6704 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02003/0.7358, allocations: 20.65 MB / 0.6906 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/0.7393, allocations: 2.308 MB / 0.6928 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.7397, allocations: 235.9 kB / 0.6931 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.7397, allocations: 56.89 kB / 0.6931 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.21e-06/0.7397, allocations: 0 / 0.6931 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02181/0.7615, allocations: 10.88 MB / 0.7037 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.7616, allocations: 85.78 kB / 0.7038 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/0.7676, allocations: 3.017 MB / 0.7068 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.7678, allocations: 77.7 kB / 0.7068 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002515/0.7703, allocations: 2.866 MB / 0.7096 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.7714, allocations: 1.029 MB / 0.7106 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.7731, allocations: 0.9055 MB / 0.7115 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7732, allocations: 305.1 kB / 0.7118 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.7766, allocations: 2.027 MB / 0.7138 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004577/0.7811, allocations: 3.724 MB / 0.7174 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/0.7895, allocations: 6.043 MB / 0.7233 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.455e-05/0.7896, allocations: 20 kB / 0.7234 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01214/0.8018, allocations: 6.63 MB / 0.7298 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.8019, allocations: 32.22 kB / 0.7299 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-05/0.802, allocations: 56 kB / 0.7299 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.8039, allocations: 0.6707 MB / 0.7306 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2469/1.051, allocations: 1.069 MB / 0.7316 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008541/1.059, allocations: 6.224 MB / 0.7377 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.063, allocations: 278.1 kB / 0.738 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006659/1.064, allocations: 228.3 kB / 0.7382 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.004503/1.069, allocations: 2.309 MB / 0.7404 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009425/1.07, allocations: 327.5 kB / 0.7407 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00851/1.078, allocations: 4.626 MB / 0.7453 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/1.078, allocations: 31.66 kB / 0.7453 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.078, allocations: 5.969 kB / 0.7453 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/1.078, allocations: 20.16 kB / 0.7453 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.098, allocations: 11.08 MB / 0.7561 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.098, allocations: 5.625 kB / 0.7561 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/1.1, allocations: 0.5283 MB / 0.7567 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/1.102, allocations: 0.5674 MB / 0.7572 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.102, allocations: 72.05 kB / 0.7573 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/1.109, allocations: 5.461 MB / 0.7626 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.109, allocations: 3.938 kB / 0.7626 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008651/1.117, allocations: 6.59 MB / 0.7691 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.119, allocations: 0.7222 MB / 0.7698 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/1.119, allocations: 59.55 kB / 0.7698 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.121, allocations: 143.5 kB / 0.77 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/1.121, allocations: 208.8 kB / 0.7701 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.121, allocations: 92.02 kB / 0.7702 GB, free: 153 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002667/1.124, allocations: 2.015 MB / 0.7722 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/1.124, allocations: 2.219 kB / 0.7722 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003689/1.128, allocations: 1.171 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.0004427/1.128, allocations: 230.2 kB / 0.7736 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006931/1.135, allocations: 5.043 MB / 0.7785 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.135, allocations: 1.812 kB / 0.7785 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003153/1.138, allocations: 2.262 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.003087/1.141, allocations: 0.643 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.01653/1.158, allocations: 10.97 MB / 0.792 GB, free: 140 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/1.161, allocations: 4.153 MB / 0.7961 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00329/1.164, 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.0007277/1.165, allocations: 275.4 kB / 0.7977 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.165, allocations: 0 / 0.7977 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.06113/1.226, allocations: 45.26 MB / 0.8419 GB, free: 89.31 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1)