Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 109.7 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 55.94 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1164, allocations: 46.61 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.3128/0.4293, allocations: 38.35 MB / 412.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03081/0.4601, allocations: 10.02 MB / 422.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0138/0.474, allocations: 247 kB / 423.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0282/0.5023, allocations: 10.19 MB / 433.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02223/0.5245, allocations: 4.078 MB / 437.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01072/0.5353, allocations: 2.419 MB / 439.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.031/0.5663, allocations: 16.53 MB / 456.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05767/0.624, allocations: 31.18 MB / 487.5 MB, free: 14.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01723/0.6413, allocations: 8.536 MB / 496.1 MB, free: 5.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01902/0.6603, allocations: 9.425 MB / 0.4936 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009799/0.6702, allocations: 2.426 MB / 0.496 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.6837, allocations: 2.82 MB / 0.4988 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01106/0.6948, allocations: 4.871 MB / 0.5035 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02183/0.7167, allocations: 9.273 MB / 0.5126 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04733/0.7641, allocations: 32.14 MB / 0.544 GB, free: 8.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.7641, allocations: 0 / 0.544 GB, free: 8.559 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7641, allocations: 3.938 kB / 0.544 GB, free: 8.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001209/0.7653, allocations: 4 kB / 0.544 GB, free: 8.551 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.616/1.381, allocations: 18.85 MB / 0.5624 GB, free: 91.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.513e-05/1.381, allocations: 9.156 kB / 0.5624 GB, free: 91.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06744/1.449, allocations: 9.291 MB / 0.5715 GB, free: 91.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02422/1.473, allocations: 9.187 MB / 0.5804 GB, free: 86.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/1.474, allocations: 1.075 MB / 0.5815 GB, free: 85.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008008/1.482, allocations: 1.418 MB / 0.5829 GB, free: 84.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07092/1.553, allocations: 23.19 MB / 0.6055 GB, free: 61.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001184/1.555, allocations: 27.45 kB / 0.6055 GB, free: 61.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007861/1.563, allocations: 0.5853 MB / 0.6061 GB, free: 60.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008561/1.563, allocations: 0.8032 MB / 0.6069 GB, free: 59.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05025/1.614, allocations: 21.69 MB / 0.6281 GB, free: 38.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1405/1.754, allocations: 73.23 MB / 0.6996 GB, free: 12.51 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04204/1.796, allocations: 53.56 MB / 0.7519 GB, free: 0.6602 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009496/1.806, allocations: 5.347 MB / 0.7571 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3204/2.126, allocations: 15.42 MB / 0.7722 GB, free: 224.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-05/2.126, allocations: 94.3 kB / 0.7723 GB, free: 224.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.857e-06/2.126, allocations: 1.234 kB / 0.7723 GB, free: 224.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.0691/2.196, allocations: 26.95 MB / 0.7986 GB, free: 215.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/2.196, allocations: 129.7 kB / 0.7987 GB, free: 215.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/2.206, allocations: 5.902 MB / 0.8045 GB, free: 213.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/2.207, allocations: 109.4 kB / 0.8046 GB, free: 213.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003899/2.211, allocations: 6.29 MB / 0.8107 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/2.214, allocations: 1.74 MB / 0.8124 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002434/2.216, allocations: 1.521 MB / 0.8139 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.889e-05/2.216, allocations: 305 kB / 0.8142 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005136/2.221, allocations: 3.688 MB / 0.8178 GB, free: 204.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006809/2.228, allocations: 6.767 MB / 0.8244 GB, free: 199.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/2.241, allocations: 11.14 MB / 0.8353 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/2.241, allocations: 37.53 kB / 0.8353 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02221/2.263, allocations: 12.39 MB / 0.8474 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/2.264, allocations: 48 kB / 0.8475 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/2.264, allocations: 104 kB / 0.8476 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004388/2.268, allocations: 1.605 MB / 0.8491 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006715/2.275, allocations: 1.739 MB / 0.8508 GB, free: 174.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/2.296, allocations: 19.63 MB / 0.87 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.306, allocations: 439.4 kB / 0.8704 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002927/2.309, allocations: 392 kB / 0.8708 GB, free: 153.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * 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 (904): * Single equations (assignments): 897 * 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,54.2%), (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.01211/2.321, allocations: 5.251 MB / 0.8759 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/2.323, allocations: 0.6028 MB / 0.8765 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/2.338, allocations: 9.388 MB / 0.8857 GB, free: 138.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008504/2.347, allocations: 5.876 MB / 0.8914 GB, free: 132.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.695e-05/2.347, allocations: 16 kB / 0.8914 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.688e-05/2.347, allocations: 23.91 kB / 0.8915 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04025/2.387, allocations: 21.08 MB / 0.912 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/2.387, allocations: 8 kB / 0.9121 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003639/2.391, allocations: 0.8581 MB / 0.9129 GB, free: 110.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004563/2.395, allocations: 1.642 MB / 0.9145 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008819/2.396, allocations: 124 kB / 0.9146 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/2.418, allocations: 23.21 MB / 0.9373 GB, free: 84.36 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/2.418, allocations: 7.938 kB / 0.9373 GB, free: 84.35 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/2.439, allocations: 13.72 MB / 0.9507 GB, free: 70.26 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004543/2.443, allocations: 1.36 MB / 0.952 GB, free: 68.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/2.445, allocations: 111.9 kB / 0.9521 GB, free: 68.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004512/2.45, allocations: 287.7 kB / 0.9524 GB, free: 68.48 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/2.451, allocations: 404.4 kB / 0.9528 GB, free: 68.09 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003439/2.451, allocations: 158.6 kB / 0.9529 GB, free: 67.93 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006775/2.458, allocations: 3.969 MB / 0.9568 GB, free: 64 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2e-07/2.458, allocations: 0 / 0.9568 GB, free: 64 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01328/2.472, allocations: 2.37 MB / 0.9591 GB, free: 61.63 MB / 0.5763 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00168/2.473, allocations: 318.6 kB / 0.9594 GB, free: 61.32 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01691/2.49, allocations: 10.01 MB / 0.9692 GB, free: 51.23 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/2.49, allocations: 4 kB / 0.9692 GB, free: 51.22 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0085/2.499, allocations: 5.458 MB / 0.9745 GB, free: 45.68 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009113/2.508, allocations: 1.646 MB / 0.9761 GB, free: 44.04 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3549/2.863, allocations: 24.94 MB / 1 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02484/2.888, allocations: 8.933 MB / 1.009 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01039/2.898, allocations: 2.59 MB / 1.012 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/2.901, allocations: 469.9 kB / 1.012 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.092e-06/2.901, allocations: 0 / 1.012 GB, free: 207.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1592/3.06, allocations: 97.91 MB / 1.108 GB, free: 123 MB / 0.5763 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)