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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 117.1 kB / 16.42 MB, free: 6.484 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.35/1.35, allocations: 222.9 MB / 240.1 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.001367/0.001367, allocations: 187.8 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03592/0.03592, allocations: 8.798 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 80.2 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08596/0.08756, allocations: 51.56 MB / 0.5041 GB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.2344/0.3219, allocations: 38.32 MB / 0.5415 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02257/0.3446, allocations: 10.02 MB / 0.5513 GB, free: 3.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0087/0.3533, allocations: 291.1 kB / 0.5516 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02737/0.3807, allocations: 10.22 MB / 0.5615 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01413/0.3949, allocations: 4.124 MB / 0.5656 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007488/0.4024, allocations: 2.367 MB / 0.5679 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02109/0.4235, allocations: 16.39 MB / 0.5839 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04743/0.471, allocations: 31.19 MB / 0.6143 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.4844, allocations: 8.505 MB / 0.6227 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.499, allocations: 9.324 MB / 0.6318 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005952/0.505, allocations: 2.418 MB / 0.6341 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008501/0.5135, allocations: 2.816 MB / 0.6369 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007439/0.521, allocations: 4.812 MB / 0.6416 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01599/0.537, allocations: 9.195 MB / 0.6506 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03384/0.5708, allocations: 32.1 MB / 0.6819 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.5709, allocations: 3.984 kB / 0.6819 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5709, allocations: 0 / 0.6819 GB, free: 11.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001114/0.572, allocations: 0 / 0.6819 GB, free: 11.21 MB / 494.1 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.05296/0.625, allocations: 18.67 MB / 0.7001 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6251, allocations: 12.03 kB / 0.7001 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04611/0.6712, allocations: 8.302 MB / 0.7083 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/0.6943, allocations: 10.2 MB / 0.7182 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/0.6955, allocations: 1.06 MB / 0.7193 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004981/0.7005, allocations: 1.402 MB / 0.7206 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4522/1.153, allocations: 22.74 MB / 0.7428 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/1.153, allocations: 24.66 kB / 0.7428 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001771/1.155, allocations: 0.5786 MB / 0.7434 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007353/1.156, allocations: 0.7793 MB / 0.7442 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03424/1.19, allocations: 21.01 MB / 0.7647 GB, free: 124.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09432/1.284, allocations: 72 MB / 0.835 GB, free: 57.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/1.308, allocations: 42.4 MB / 0.8764 GB, free: 10 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00718/1.315, allocations: 5.17 MB / 0.8815 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0235/1.339, allocations: 12.68 MB / 0.8938 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.897e-05/1.339, allocations: 86.77 kB / 0.8939 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 7.785e-06/1.339, allocations: 0 / 0.8939 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.06092/1.4, allocations: 26.36 MB / 0.9197 GB, free: 13.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/1.4, allocations: 133.3 kB / 0.9198 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.411, allocations: 5.759 MB / 0.9254 GB, free: 7.512 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008167/1.412, allocations: 109.7 kB / 0.9255 GB, free: 7.398 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004289/1.416, allocations: 6.157 MB / 0.9315 GB, free: 1.207 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.418, allocations: 1.735 MB / 0.9332 GB, free: 15.49 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003596/1.421, allocations: 1.457 MB / 0.9347 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/1.422, allocations: 309.1 kB / 0.935 GB, free: 13.72 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/1.428, allocations: 3.626 MB / 0.9385 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008005/1.436, allocations: 6.478 MB / 0.9448 GB, free: 2.312 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2298/1.665, allocations: 10.75 MB / 0.9553 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.169e-05/1.666, allocations: 27.03 kB / 0.9553 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01996/1.685, allocations: 12.08 MB / 0.9671 GB, free: 173 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/1.686, allocations: 52.84 kB / 0.9672 GB, free: 173 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/1.686, allocations: 93.09 kB / 0.9673 GB, free: 173 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/1.69, allocations: 1.599 MB / 0.9688 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006422/1.697, allocations: 1.669 MB / 0.9705 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/1.717, allocations: 19.66 MB / 0.9897 GB, free: 159.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/1.723, allocations: 425.1 kB / 0.9901 GB, free: 159.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008947/1.724, allocations: 368.6 kB / 0.9904 GB, free: 159.3 MB / 0.5763 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 (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,52.1%), (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.006681/1.731, allocations: 5.186 MB / 0.9955 GB, free: 156.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.732, allocations: 0.5956 MB / 0.9961 GB, free: 156.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.746, allocations: 9.368 MB / 1.005 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/1.746, allocations: 28.28 kB / 1.005 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.746, allocations: 0 / 1.005 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/1.748, allocations: 1.343 MB / 1.007 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008195/1.749, allocations: 99.31 kB / 1.007 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.752, allocations: 278.2 kB / 1.007 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/1.753, allocations: 439.4 kB / 1.007 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01413/1.767, allocations: 8.937 MB / 1.016 GB, free: 149.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01237/1.779, allocations: 10.56 MB / 1.026 GB, free: 143.9 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003568/1.783, allocations: 3.307 MB / 1.03 GB, free: 141.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005119/1.788, allocations: 3.888 MB / 1.033 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of Backend: time 3.51e-07/1.788, allocations: 5.875 kB / 1.033 GB, free: 137.8 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.8, allocations: 7.336 MB / 1.041 GB, free: 130.5 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03332/1.834, allocations: 24.09 MB / 1.064 GB, free: 106.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.3604/2.194, allocations: 113 MB / 1.174 GB, free: 181.4 MB / 0.5763 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)