Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 107 kB / 16.36 MB, free: 6.336 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.427/1.427, allocations: 222.9 MB / 240 MB, free: 4.59 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.001377/0.001377, allocations: 195.7 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03385/0.03385, allocations: 8.789 MB / 349.3 MB, free: 4.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 81.95 kB / 412.5 MB, free: 41.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1304, allocations: 51.56 MB / 464.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.0522/0.1826, allocations: 45.31 MB / 0.4975 GB, free: 104 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0373/0.22, allocations: 11.8 MB / 0.509 GB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01344/0.2334, allocations: 354.8 kB / 0.5093 GB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03063/0.2642, allocations: 12.33 MB / 0.5214 GB, free: 7.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02108/0.2853, allocations: 4.805 MB / 0.5261 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2678/0.5531, allocations: 2.917 MB / 0.5289 GB, free: 6.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0299/0.583, allocations: 20.94 MB / 0.5494 GB, free: 6.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06017/0.6432, allocations: 41.97 MB / 0.5903 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02167/0.6649, allocations: 10.93 MB / 0.601 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02661/0.6915, allocations: 12.52 MB / 0.6132 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009452/0.701, allocations: 3.133 MB / 0.6163 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.7175, allocations: 3.539 MB / 0.6198 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01346/0.731, allocations: 6.244 MB / 0.6259 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03023/0.7613, allocations: 11.91 MB / 0.6375 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05803/0.8193, allocations: 41.41 MB / 0.6779 GB, free: 12.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.8194, allocations: 0 / 0.6779 GB, free: 12.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.8194, allocations: 4 kB / 0.6779 GB, free: 12.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001339/0.8208, allocations: 0 / 0.6779 GB, free: 12.55 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.0788/0.8996, allocations: 23.89 MB / 0.7013 GB, free: 4.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.8997, allocations: 8.031 kB / 0.7013 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5631/1.463, allocations: 11.34 MB / 0.7123 GB, free: 145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03866/1.501, allocations: 13.42 MB / 0.7254 GB, free: 142.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003183/1.505, allocations: 1.356 MB / 0.7268 GB, free: 141.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008936/1.514, allocations: 1.789 MB / 0.7285 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09352/1.607, allocations: 29.58 MB / 0.7574 GB, free: 124.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001101/1.608, allocations: 27.8 kB / 0.7574 GB, free: 124.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009669/1.618, allocations: 0.7432 MB / 0.7582 GB, free: 123.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001386/1.62, allocations: 0.9829 MB / 0.7591 GB, free: 122.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08906/1.709, allocations: 27.3 MB / 0.7858 GB, free: 95.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1954/1.904, allocations: 92.9 MB / 0.8765 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5083/2.412, allocations: 51.98 MB / 0.9273 GB, free: 104.2 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01491/2.427, allocations: 7.275 MB / 0.9344 GB, free: 104.1 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03866/2.466, allocations: 20.02 MB / 0.9539 GB, free: 97.46 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.191e-05/2.466, allocations: 112.2 kB / 0.954 GB, free: 97.37 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=677): time 8.826e-06/2.466, allocations: 0 / 0.954 GB, free: 97.37 MB / 0.4983 GB Notification: Performance of matching and sorting (n=685): time 0.07945/2.546, allocations: 38.14 MB / 0.9913 GB, free: 80.74 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/2.546, allocations: 149.1 kB / 0.9914 GB, free: 80.64 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/2.556, allocations: 7.109 MB / 0.9983 GB, free: 76.77 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.00139/2.558, allocations: 137.7 kB / 0.9985 GB, free: 76.63 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.004662/2.562, allocations: 7.807 MB / 1.006 GB, free: 68.77 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.003353/2.566, allocations: 2.328 MB / 1.008 GB, free: 66.46 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002949/2.569, allocations: 1.858 MB / 1.01 GB, free: 64.59 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/2.569, allocations: 305.1 kB / 1.01 GB, free: 64.29 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007011/2.576, allocations: 4.86 MB / 1.015 GB, free: 59.43 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009408/2.585, allocations: 8.333 MB / 1.023 GB, free: 49.5 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/2.602, allocations: 14 MB / 1.037 GB, free: 33.86 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/2.602, allocations: 36 kB / 1.037 GB, free: 33.82 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02651/2.628, allocations: 16.08 MB / 1.053 GB, free: 17.58 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/2.628, allocations: 52 kB / 1.053 GB, free: 17.53 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/2.629, allocations: 112 kB / 1.053 GB, free: 17.42 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/2.635, allocations: 2.574 MB / 1.055 GB, free: 14.82 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0081/2.643, allocations: 2.106 MB / 1.057 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2887/2.932, allocations: 30.77 MB / 1.088 GB, free: 136.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00811/2.94, allocations: 0.5279 MB / 1.088 GB, free: 136.2 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/2.942, allocations: 461 kB / 1.088 GB, free: 136.2 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01417/2.956, allocations: 6.764 MB / 1.095 GB, free: 136.1 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002842/2.959, allocations: 0.7648 MB / 1.096 GB, free: 136.1 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02591/2.985, allocations: 13.08 MB / 1.109 GB, free: 133.9 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01243/2.997, allocations: 8.213 MB / 1.117 GB, free: 130.7 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.538e-05/2.997, allocations: 31.69 kB / 1.117 GB, free: 130.7 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001522/2.997, allocations: 35.3 kB / 1.117 GB, free: 130.7 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06091/3.058, allocations: 27.93 MB / 1.144 GB, free: 119.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/3.058, allocations: 4.75 kB / 1.144 GB, free: 119.3 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004818/3.063, allocations: 1.111 MB / 1.145 GB, free: 119.3 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/3.069, allocations: 2.63 MB / 1.148 GB, free: 118.5 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009756/3.07, allocations: 146.3 kB / 1.148 GB, free: 118.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03355/3.104, allocations: 35.87 MB / 1.183 GB, free: 91.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.104, allocations: 5.594 kB / 1.183 GB, free: 91.41 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02616/3.13, allocations: 18.77 MB / 1.201 GB, free: 72.81 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00652/3.137, allocations: 1.762 MB / 1.203 GB, free: 71.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002606/3.139, allocations: 124.7 kB / 1.203 GB, free: 71.3 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005196/3.144, allocations: 395.6 kB / 1.203 GB, free: 70.92 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/3.146, allocations: 0.5336 MB / 1.204 GB, free: 70.38 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007521/3.147, allocations: 192 kB / 1.204 GB, free: 70.19 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.007176/3.154, allocations: 4.79 MB / 1.209 GB, free: 65.43 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.71e-07/3.154, allocations: 2.734 kB / 1.209 GB, free: 65.43 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.01379/3.168, allocations: 3.051 MB / 1.212 GB, free: 62.38 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002327/3.17, allocations: 353.3 kB / 1.212 GB, free: 62.04 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.01931/3.19, allocations: 13.38 MB / 1.225 GB, free: 48.54 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/3.19, allocations: 8 kB / 1.225 GB, free: 48.53 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/3.201, allocations: 7.558 MB / 1.233 GB, free: 40.89 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/3.214, allocations: 2.151 MB / 1.235 GB, free: 38.81 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.057/3.271, allocations: 31.92 MB / 1.266 GB, free: 6.84 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01747/3.288, allocations: 11.35 MB / 1.277 GB, free: 11.43 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.2361/3.524, allocations: 3.277 MB / 1.28 GB, free: 141.2 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004328/3.529, allocations: 0.5608 MB / 1.281 GB, free: 141.2 MB / 0.5295 GB Notification: Performance of SimCode: time 1.312e-06/3.529, allocations: 1.781 kB / 1.281 GB, free: 141.2 MB / 0.5295 GB Notification: Performance of Templates: time 0.1949/3.724, allocations: 126.8 MB / 1.404 GB, free: 60.24 MB / 0.5295 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1)