Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.conf.json 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03782/0.03782, allocations: 8.797 MB / 25.53 MB, free: 3.75 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 251.3 MB, free: 7.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 105.1 kB / 303.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001827, allocations: 67.91 kB / 366 MB, free: 208 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.211, allocations: 51.55 MB / 417.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.03071/0.2418, allocations: 37.63 MB / 455.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.2629, allocations: 9.922 MB / 465.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008976/0.2719, allocations: 275.1 kB / 465.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0207/0.2927, allocations: 9.529 MB / 474.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01518/0.3079, allocations: 3.684 MB / 478.6 MB, free: 7.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.3148, allocations: 2.194 MB / 480.8 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02055/0.3354, allocations: 16.88 MB / 497.6 MB, free: 4.574 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4114/0.7468, allocations: 25.47 MB / 0.5109 GB, free: 2.332 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.7592, allocations: 7.219 MB / 0.5179 GB, free: 1.73 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01698/0.7762, allocations: 9.04 MB / 0.5267 GB, free: 0 / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005835/0.7821, allocations: 1.534 MB / 0.5282 GB, free: 0 / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008556/0.7906, allocations: 1.945 MB / 0.5301 GB, free: 15.9 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008059/0.7987, allocations: 3.892 MB / 0.5339 GB, free: 13.55 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01649/0.8153, allocations: 8.269 MB / 0.542 GB, free: 5.824 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03392/0.8492, allocations: 31.3 MB / 0.5726 GB, free: 8.691 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.8492, allocations: 3.562 kB / 0.5726 GB, free: 8.691 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.8492, allocations: 0 / 0.5726 GB, free: 8.691 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.000806/0.8501, allocations: 0 / 0.5726 GB, free: 8.691 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.0524/0.9025, allocations: 18.73 MB / 0.5909 GB, free: 5.969 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9025, allocations: 12.03 kB / 0.5909 GB, free: 5.957 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04193/0.9445, allocations: 8.254 MB / 0.5989 GB, free: 13.78 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/0.9659, allocations: 9.869 MB / 0.6086 GB, free: 4.273 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/0.967, allocations: 1.068 MB / 0.6096 GB, free: 3.219 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005633/0.9727, allocations: 1.407 MB / 0.611 GB, free: 1.824 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04968/1.022, allocations: 22.77 MB / 0.6332 GB, free: 11 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003194/1.023, allocations: 23.08 kB / 0.6333 GB, free: 10.98 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001751/1.025, allocations: 0.5746 MB / 0.6338 GB, free: 10.42 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006825/1.025, allocations: 0.7715 MB / 0.6346 GB, free: 9.645 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04053/1.066, allocations: 21.03 MB / 0.6551 GB, free: 4.609 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3814/1.447, allocations: 72.92 MB / 0.7263 GB, free: 92.36 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/1.473, allocations: 42.45 MB / 0.7678 GB, free: 51.74 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007578/1.481, allocations: 5.247 MB / 0.7729 GB, free: 49.04 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/1.501, allocations: 12.81 MB / 0.7854 GB, free: 40.62 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/1.501, allocations: 90.81 kB / 0.7855 GB, free: 40.54 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=504): time 6.082e-06/1.501, allocations: 0 / 0.7855 GB, free: 40.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=512): time 0.05237/1.554, allocations: 26.77 MB / 0.8116 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.554, allocations: 133.3 kB / 0.8118 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008326/1.562, allocations: 5.759 MB / 0.8174 GB, free: 7.723 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.563, allocations: 109.7 kB / 0.8175 GB, free: 7.609 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.566, allocations: 6.152 MB / 0.8235 GB, free: 1.422 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/1.568, allocations: 1.754 MB / 0.8252 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002527/1.57, allocations: 1.469 MB / 0.8266 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.571, allocations: 301.1 kB / 0.8269 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005606/1.576, allocations: 3.665 MB / 0.8305 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00809/1.584, allocations: 6.522 MB / 0.8369 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/1.599, allocations: 10.84 MB / 0.8475 GB, free: 6.691 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.35e-05/1.599, allocations: 28 kB / 0.8475 GB, free: 6.664 MB / 0.5262 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02165/1.621, allocations: 12.17 MB / 0.8594 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/1.621, allocations: 44 kB / 0.8594 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/1.621, allocations: 94.62 kB / 0.8595 GB, free: 10.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004348/1.625, allocations: 1.608 MB / 0.8611 GB, free: 9.281 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006058/1.631, allocations: 1.66 MB / 0.8627 GB, free: 7.734 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2225/1.854, allocations: 18.25 MB / 0.8805 GB, free: 196 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005281/1.859, allocations: 432.2 kB / 0.8809 GB, free: 195.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007265/1.86, allocations: 365 kB / 0.8813 GB, free: 195.8 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[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 (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,53.5%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008871/1.869, allocations: 5.189 MB / 0.8863 GB, free: 193.4 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.87, allocations: 0.5891 MB / 0.8869 GB, free: 193.4 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.885, allocations: 9.461 MB / 0.8962 GB, free: 189.6 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007665/1.892, allocations: 5.953 MB / 0.902 GB, free: 187.3 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-05/1.892, allocations: 16.62 kB / 0.902 GB, free: 187.3 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-05/1.892, allocations: 30.5 kB / 0.902 GB, free: 187.3 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02888/1.921, allocations: 21.15 MB / 0.9227 GB, free: 178.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.921, allocations: 9.531 kB / 0.9227 GB, free: 178.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.924, allocations: 0.8652 MB / 0.9235 GB, free: 178.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/1.929, allocations: 1.64 MB / 0.9251 GB, free: 178.1 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003525/1.929, allocations: 125 kB / 0.9253 GB, free: 178.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/1.948, allocations: 21.37 MB / 0.9461 GB, free: 156.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.948, allocations: 15.97 kB / 0.9461 GB, free: 156.4 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08614/2.034, allocations: 64.84 MB / 1.009 GB, free: 90.45 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/2.037, allocations: 1.372 MB / 1.011 GB, free: 89.05 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007076/2.038, allocations: 104 kB / 1.011 GB, free: 88.95 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/2.041, allocations: 287.5 kB / 1.011 GB, free: 88.68 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008848/2.042, allocations: 420.4 kB / 1.012 GB, free: 88.27 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/2.042, allocations: 155.9 kB / 1.012 GB, free: 88.11 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.004821/2.047, allocations: 3.891 MB / 1.016 GB, free: 84.25 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.9e-07/2.047, allocations: 0 / 1.016 GB, free: 84.25 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009957/2.057, allocations: 2.919 MB / 1.018 GB, free: 81.34 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/2.058, allocations: 320.4 kB / 1.019 GB, free: 81.03 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.013/2.071, allocations: 9.944 MB / 1.028 GB, free: 70.99 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.071, allocations: 4.562 kB / 1.028 GB, free: 70.98 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007799/2.079, allocations: 5.493 MB / 1.034 GB, free: 65.41 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009612/2.089, allocations: 1.541 MB / 1.035 GB, free: 63.89 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05188/2.14, allocations: 35.78 MB / 1.07 GB, free: 27.89 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2244/2.365, allocations: 9.021 MB / 1.079 GB, free: 177.3 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007752/2.373, allocations: 2.546 MB / 1.081 GB, free: 177.2 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/2.375, allocations: 466.6 kB / 1.082 GB, free: 177.2 MB / 0.5418 GB Notification: Performance of SimCode: time 1.813e-06/2.375, allocations: 0 / 1.082 GB, free: 177.2 MB / 0.5418 GB Notification: Performance of Templates: time 0.1723/2.547, allocations: 114.5 MB / 1.194 GB, free: 95.31 MB / 0.5418 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1)