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.01126/0.01126, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.499/1.499, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001681/0.001681, allocations: 180.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03599/0.03599, allocations: 8.788 MB / 348.6 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 83.88 kB / 463.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1251, allocations: 51.55 MB / 0.5034 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2887/0.4138, allocations: 25.41 MB / 0.5282 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.4319, allocations: 8.016 MB / 0.536 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006462/0.4385, allocations: 174.4 kB / 0.5362 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0136/0.4521, allocations: 6.1 MB / 0.5422 GB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009817/0.4619, allocations: 2.742 MB / 0.5448 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.467, allocations: 1.614 MB / 0.5464 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.4794, allocations: 7.274 MB / 0.5535 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02926/0.5087, allocations: 13.36 MB / 0.5666 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.5189, allocations: 3.754 MB / 0.5702 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008826/0.5278, allocations: 4.223 MB / 0.5744 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003197/0.531, allocations: 1.07 MB / 0.5754 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005242/0.5362, allocations: 1.43 MB / 0.5768 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003618/0.5399, allocations: 2.148 MB / 0.5789 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007306/0.5472, allocations: 4.117 MB / 0.5829 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.5667, allocations: 14.44 MB / 0.597 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5668, allocations: 0 / 0.597 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5668, allocations: 4 kB / 0.597 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004752/0.5673, allocations: 0 / 0.597 GB, free: 15.04 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.03138/0.5987, allocations: 8.782 MB / 0.6056 GB, free: 6.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5987, allocations: 8.031 kB / 0.6056 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02498/0.6237, allocations: 4.399 MB / 0.6099 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00973/0.6335, allocations: 4.607 MB / 0.6144 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004975/0.634, allocations: 496.9 kB / 0.6149 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/0.6369, allocations: 0.6209 MB / 0.6155 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03134/0.6682, allocations: 10.36 MB / 0.6256 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/0.6685, allocations: 7.906 kB / 0.6256 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00091/0.6694, allocations: 263.8 kB / 0.6259 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003937/0.6698, allocations: 417.7 kB / 0.6263 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.6887, allocations: 9.868 MB / 0.6359 GB, free: 7.191 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05955/0.7483, allocations: 35.31 MB / 0.6704 GB, free: 2.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/0.7686, allocations: 20.66 MB / 0.6906 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/0.7729, allocations: 2.303 MB / 0.6928 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/0.7734, allocations: 231.1 kB / 0.693 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.94e-05/0.7735, allocations: 64.89 kB / 0.6931 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.549e-06/0.7735, allocations: 0 / 0.6931 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.0256/0.7991, allocations: 10.88 MB / 0.7037 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.7992, allocations: 89.7 kB / 0.7038 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/0.8042, allocations: 3.021 MB / 0.7067 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004134/0.8046, allocations: 73.7 kB / 0.7068 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.8065, allocations: 2.859 MB / 0.7096 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.8076, allocations: 1.035 MB / 0.7106 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/0.8095, allocations: 0.9055 MB / 0.7115 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.8096, allocations: 305.1 kB / 0.7118 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/0.8135, allocations: 2.02 MB / 0.7138 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/0.8203, allocations: 3.732 MB / 0.7174 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/0.8337, allocations: 6.039 MB / 0.7233 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.173e-05/0.8338, allocations: 16 kB / 0.7233 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0256/0.8594, allocations: 6.629 MB / 0.7298 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.8596, allocations: 31.94 kB / 0.7298 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/0.8598, allocations: 56 kB / 0.7299 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003559/0.8634, allocations: 0.6759 MB / 0.7305 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3331/1.196, allocations: 1.069 MB / 0.7316 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.209, allocations: 6.218 MB / 0.7377 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/1.214, allocations: 281.9 kB / 0.7379 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.215, allocations: 226 kB / 0.7381 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.00564/1.221, allocations: 2.312 MB / 0.7404 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.222, allocations: 328.6 kB / 0.7407 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009053/1.231, allocations: 4.624 MB / 0.7452 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.231, allocations: 33 kB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.231, allocations: 6.844 kB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/1.231, allocations: 15.28 kB / 0.7453 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/1.251, allocations: 11.09 MB / 0.7561 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/1.251, allocations: 4.125 kB / 0.7561 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.254, allocations: 0.5361 MB / 0.7566 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/1.255, allocations: 0.5673 MB / 0.7572 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.255, allocations: 65.03 kB / 0.7573 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006434/1.262, allocations: 5.452 MB / 0.7626 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.262, allocations: 11.84 kB / 0.7626 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008778/1.271, allocations: 6.584 MB / 0.769 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.272, allocations: 0.7291 MB / 0.7697 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007265/1.273, allocations: 55.84 kB / 0.7698 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.275, allocations: 144.5 kB / 0.7699 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004883/1.275, allocations: 212.3 kB / 0.7701 GB, free: 153 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.276, allocations: 87.7 kB / 0.7702 GB, free: 153 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003491/1.279, allocations: 2.012 MB / 0.7722 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.834e-06/1.279, allocations: 0 / 0.7722 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005025/1.284, allocations: 1.18 MB / 0.7733 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.0004996/1.285, allocations: 225.8 kB / 0.7735 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00703/1.292, allocations: 5.048 MB / 0.7785 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.292, allocations: 0 / 0.7785 GB, free: 150 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/1.295, allocations: 2.263 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.00314/1.298, allocations: 0.6391 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.0162/1.314, allocations: 10.98 MB / 0.792 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003509/1.318, allocations: 4.146 MB / 0.7961 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003812/1.322, 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.0008422/1.323, allocations: 279.4 kB / 0.7976 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.323, allocations: 0 / 0.7976 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.06479/1.387, allocations: 45.26 MB / 0.8418 GB, free: 89.32 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)