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.001167/0.001167, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001198/0.001198, allocations: 200 kB / 18.01 MB, free: 5.055 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.416/1.416, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001369/0.001369, allocations: 51.92 kB / 327.9 MB, free: 3.238 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 46.62 MB / 374.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.3089/0.4266, allocations: 38.34 MB / 412.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03377/0.4605, allocations: 10.01 MB / 422.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01399/0.4745, allocations: 250.6 kB / 423.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02891/0.5035, allocations: 10.19 MB / 433.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02635/0.5299, allocations: 4.083 MB / 437.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.5413, allocations: 2.411 MB / 439.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03459/0.5759, allocations: 16.53 MB / 456.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06025/0.6362, allocations: 31.19 MB / 487.5 MB, free: 14.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01964/0.6559, allocations: 8.575 MB / 496.1 MB, free: 5.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02103/0.677, allocations: 9.417 MB / 0.4937 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01087/0.688, allocations: 2.426 MB / 0.496 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.7028, allocations: 2.82 MB / 0.4988 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0131/0.716, allocations: 4.871 MB / 0.5036 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02747/0.7436, allocations: 9.28 MB / 0.5126 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05277/0.7964, allocations: 32.12 MB / 0.544 GB, free: 8.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.7964, allocations: 0 / 0.544 GB, free: 8.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.7965, allocations: 0 / 0.544 GB, free: 8.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001443/0.7979, allocations: 0 / 0.544 GB, free: 8.5 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.6771/1.475, allocations: 18.85 MB / 0.5624 GB, free: 91.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/1.475, allocations: 11.31 kB / 0.5624 GB, free: 91.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05683/1.532, allocations: 9.288 MB / 0.5715 GB, free: 91.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02591/1.558, allocations: 9.2 MB / 0.5805 GB, free: 86.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00146/1.559, allocations: 1.069 MB / 0.5815 GB, free: 85.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008499/1.568, allocations: 1.415 MB / 0.5829 GB, free: 84.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07356/1.642, allocations: 23.2 MB / 0.6056 GB, free: 61.08 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00109/1.643, allocations: 19.8 kB / 0.6056 GB, free: 61.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007252/1.65, allocations: 0.5828 MB / 0.6061 GB, free: 60.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008286/1.651, allocations: 0.8032 MB / 0.6069 GB, free: 59.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04885/1.7, allocations: 21.69 MB / 0.6281 GB, free: 38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/1.84, allocations: 73.24 MB / 0.6996 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04421/1.884, allocations: 53.56 MB / 0.7519 GB, free: 0.582 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009319/1.893, allocations: 5.35 MB / 0.7572 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2988/2.192, allocations: 15.43 MB / 0.7722 GB, free: 224.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/2.192, allocations: 88.45 kB / 0.7723 GB, free: 224.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 6.683e-06/2.192, allocations: 1.344 kB / 0.7723 GB, free: 224.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.0646/2.257, allocations: 26.95 MB / 0.7986 GB, free: 215.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/2.257, allocations: 131.8 kB / 0.7988 GB, free: 215.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008896/2.266, allocations: 5.904 MB / 0.8045 GB, free: 213.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/2.267, allocations: 109.2 kB / 0.8046 GB, free: 213.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003176/2.27, allocations: 6.289 MB / 0.8108 GB, free: 208.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00216/2.272, allocations: 1.738 MB / 0.8125 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002586/2.275, allocations: 1.519 MB / 0.8139 GB, free: 206.6 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/2.275, allocations: 304.2 kB / 0.8142 GB, free: 206.3 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004905/2.28, allocations: 3.691 MB / 0.8178 GB, free: 204.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006886/2.287, allocations: 6.768 MB / 0.8245 GB, free: 199.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/2.299, allocations: 11.15 MB / 0.8353 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/2.299, allocations: 32 kB / 0.8354 GB, free: 189.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02401/2.323, allocations: 12.4 MB / 0.8475 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/2.323, allocations: 48 kB / 0.8475 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/2.323, allocations: 100 kB / 0.8476 GB, free: 178 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/2.328, allocations: 1.604 MB / 0.8492 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006697/2.334, allocations: 1.739 MB / 0.8509 GB, free: 174.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/2.354, allocations: 19.63 MB / 0.8701 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006621/2.36, allocations: 435.4 kB / 0.8705 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/2.362, allocations: 392 kB / 0.8708 GB, free: 153.5 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.008959/2.371, allocations: 5.253 MB / 0.876 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/2.373, allocations: 0.6066 MB / 0.8766 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/2.387, allocations: 9.378 MB / 0.8857 GB, free: 138.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009157/2.396, allocations: 5.868 MB / 0.8915 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-05/2.396, allocations: 20.88 kB / 0.8915 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.881e-05/2.396, allocations: 23.91 kB / 0.8915 GB, free: 132.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04271/2.439, allocations: 21.08 MB / 0.9121 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/2.439, allocations: 11.98 kB / 0.9121 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/2.443, allocations: 0.8663 MB / 0.9129 GB, free: 110.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004261/2.447, allocations: 1.641 MB / 0.9145 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005089/2.448, allocations: 120 kB / 0.9147 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/2.47, allocations: 23.21 MB / 0.9373 GB, free: 84.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/2.47, allocations: 4 kB / 0.9373 GB, free: 84.27 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/2.49, allocations: 13.73 MB / 0.9507 GB, free: 70.18 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004902/2.495, allocations: 1.364 MB / 0.9521 GB, free: 68.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/2.498, allocations: 111.9 kB / 0.9522 GB, free: 68.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004271/2.502, allocations: 287.7 kB / 0.9524 GB, free: 68.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009926/2.503, allocations: 405.6 kB / 0.9528 GB, free: 68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/2.503, allocations: 152 kB / 0.953 GB, free: 67.86 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006225/2.51, allocations: 3.965 MB / 0.9568 GB, free: 63.92 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/2.51, allocations: 0 / 0.9568 GB, free: 63.92 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01289/2.523, allocations: 2.37 MB / 0.9592 GB, free: 61.55 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.00151/2.524, allocations: 312.7 kB / 0.9595 GB, free: 61.25 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01515/2.539, allocations: 10.02 MB / 0.9692 GB, free: 51.14 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/2.539, allocations: 4 kB / 0.9692 GB, free: 51.13 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0087/2.548, allocations: 5.455 MB / 0.9746 GB, free: 45.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009069/2.557, allocations: 1.646 MB / 0.9762 GB, free: 43.96 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.346/2.903, allocations: 24.94 MB / 1.001 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02833/2.931, allocations: 8.929 MB / 1.009 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01163/2.943, allocations: 2.592 MB / 1.012 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/2.946, allocations: 467.9 kB / 1.012 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.222e-06/2.946, allocations: 0 / 1.012 GB, free: 207.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1768/3.123, allocations: 98.39 MB / 1.108 GB, free: 122.7 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)