Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 111.5 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001596, allocations: 209.8 kB / 18.92 MB, free: 4.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.1 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 64.42 kB / 307.1 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09158, allocations: 50.53 MB / 357.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.1933/0.2849, allocations: 33.78 MB / 391.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.3046, allocations: 8.636 MB / 400.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007111/0.3118, allocations: 227.9 kB / 400.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006027/0.3179, allocations: 1.904 MB / 402.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.3281, allocations: 2.633 MB / 404.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005561/0.3337, allocations: 1.76 MB / 406.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01938/0.3531, allocations: 16.78 MB / 423.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/0.3697, allocations: 14.15 MB / 437.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.3799, allocations: 7.065 MB / 444.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.3917, allocations: 8.373 MB / 453 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006002/0.3977, allocations: 2.203 MB / 455.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007174/0.4049, allocations: 2.441 MB / 457.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006642/0.4116, allocations: 4.761 MB / 462.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01551/0.4271, allocations: 8.886 MB / 471.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02382/0.451, allocations: 24.63 MB / 495.9 MB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.451, allocations: 0 / 495.9 MB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4511, allocations: 0 / 495.9 MB, free: 2.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006584/0.4517, allocations: 0 / 495.9 MB, free: 2.066 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.04693/0.4987, allocations: 17.18 MB / 0.501 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4987, allocations: 12.03 kB / 0.5011 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/0.5205, allocations: 3.684 MB / 0.5047 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.5384, allocations: 9.094 MB / 0.5135 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008679/0.5393, allocations: 0.98 MB / 0.5145 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004001/0.5434, allocations: 1.32 MB / 0.5158 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3467/0.8901, allocations: 19.44 MB / 0.5348 GB, free: 117.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000487/0.8906, allocations: 12.45 kB / 0.5348 GB, free: 117.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003573/0.8942, allocations: 0.539 MB / 0.5353 GB, free: 117.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007424/0.895, allocations: 0.6327 MB / 0.5359 GB, free: 117.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03762/0.9326, allocations: 17.18 MB / 0.5527 GB, free: 110.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09589/1.029, allocations: 59.57 MB / 0.6109 GB, free: 65.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02676/1.055, allocations: 34.42 MB / 0.6445 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/1.065, allocations: 6.935 MB / 0.6512 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03015/1.096, allocations: 19.3 MB / 0.6701 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.337e-05/1.096, allocations: 95.77 kB / 0.6702 GB, free: 2.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=600): time 8.846e-06/1.096, allocations: 3.984 kB / 0.6702 GB, free: 2.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=713): time 0.0805/1.176, allocations: 34.21 MB / 0.7036 GB, free: 15.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/1.176, allocations: 125 kB / 0.7037 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0178/1.194, allocations: 6.458 MB / 0.71 GB, free: 9.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001568/1.196, allocations: 149.7 kB / 0.7102 GB, free: 9.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00674/1.203, allocations: 5.578 MB / 0.7156 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004044/1.207, allocations: 2.391 MB / 0.7179 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2164/1.423, allocations: 1.326 MB / 0.7192 GB, free: 156.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/1.423, allocations: 301.7 kB / 0.7195 GB, free: 156.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008061/1.431, allocations: 4.007 MB / 0.7234 GB, free: 156.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007934/1.439, allocations: 5.841 MB / 0.7291 GB, free: 152.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/1.455, allocations: 10.56 MB / 0.7395 GB, free: 146.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.455, allocations: 14 kB / 0.7395 GB, free: 146.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02504/1.48, allocations: 13.51 MB / 0.7527 GB, free: 141.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-05/1.48, allocations: 23.56 kB / 0.7527 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.48, allocations: 59.06 kB / 0.7527 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006827/1.487, allocations: 3.149 MB / 0.7558 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/1.493, allocations: 1.393 MB / 0.7572 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04122/1.534, allocations: 48.27 MB / 0.8043 GB, free: 98.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006139/1.54, allocations: 323.2 kB / 0.8046 GB, free: 98.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.541, allocations: 305 kB / 0.8049 GB, free: 97.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 5 (idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 743 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 15 systems {(8,49,67.2%), (8,53,82.8%), (3,23,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (4,25,68.8%), (1,1,100.0%), (3,23,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (3,23,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008138/1.549, allocations: 4.492 MB / 0.8093 GB, free: 93.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/1.551, allocations: 0.7291 MB / 0.81 GB, free: 93.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/1.569, allocations: 12.29 MB / 0.822 GB, free: 81.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.736e-05/1.569, allocations: 71.98 kB / 0.8221 GB, free: 81.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.575e-05/1.569, allocations: 40 kB / 0.8221 GB, free: 81.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/1.569, allocations: 31.88 kB / 0.8222 GB, free: 81.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0442/1.613, allocations: 27.41 MB / 0.8489 GB, free: 54.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/1.613, allocations: 4 kB / 0.8489 GB, free: 54.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003626/1.617, allocations: 0.8698 MB / 0.8498 GB, free: 53.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007241/1.624, allocations: 3.458 MB / 0.8532 GB, free: 49.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.625, allocations: 195.9 kB / 0.8533 GB, free: 49.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2725/1.897, allocations: 49.25 MB / 0.9014 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.898, allocations: 5.375 kB / 0.9014 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02802/1.926, allocations: 17.74 MB / 0.9188 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004133/1.93, allocations: 1.776 MB / 0.9205 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/1.931, allocations: 174.9 kB / 0.9207 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004049/1.936, allocations: 308.7 kB / 0.921 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/1.937, allocations: 0.5729 MB / 0.9215 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004763/1.937, allocations: 193.6 kB / 0.9217 GB, free: 135 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00631/1.944, allocations: 4.427 MB / 0.926 GB, free: 133.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.944, allocations: 0 / 0.926 GB, free: 133.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009979/1.954, allocations: 2.679 MB / 0.9286 GB, free: 133 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 426 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(8,52,78.1%), (8,48,67.2%), (6,51,86.1%), (1,1,100.0%), (3,22,100.0%), (1,9,100.0%), (1,1,100.0%), (3,22,100.0%), (1,9,100.0%), (1,1,100.0%), (3,23,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/1.955, allocations: 350.7 kB / 0.929 GB, free: 132.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.06248/2.018, allocations: 25.63 MB / 0.954 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/2.018, allocations: 12.47 kB / 0.954 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01237/2.03, allocations: 8.262 MB / 0.9621 GB, free: 111.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/2.041, allocations: 1.998 MB / 0.964 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04695/2.088, allocations: 31.83 MB / 0.9951 GB, free: 80.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/2.099, allocations: 8.125 MB / 1.003 GB, free: 74.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002748/2.102, allocations: 0.5136 MB / 1.004 GB, free: 74.21 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/2.102, allocations: 4 kB / 1.004 GB, free: 74.21 MB / 494.1 MB Notification: Performance of Templates: time 2.838/4.94, allocations: 1.228 GB / 2.231 GB, free: 163.4 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)