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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009936/0.0009935, allocations: 114.7 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008819/0.0008819, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2433, allocations: 50.44 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.03679/0.2802, allocations: 33.74 MB / 440.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.3042, allocations: 8.642 MB / 449.5 MB, free: 1.281 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008953/0.3132, allocations: 231.1 kB / 449.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008329/0.3216, allocations: 1.885 MB / 451.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.3351, allocations: 2.657 MB / 454.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007645/0.3428, allocations: 1.764 MB / 456 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02678/0.3696, allocations: 17.08 MB / 473.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02084/0.3905, allocations: 11.78 MB / 484.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.4021, allocations: 5.897 MB / 490.7 MB, free: 7.785 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01533/0.4175, allocations: 7.681 MB / 498.4 MB, free: 76 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006813/0.4244, allocations: 1.242 MB / 499.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009706/0.4341, allocations: 1.472 MB / 0.4894 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007344/0.4415, allocations: 3.757 MB / 0.4931 GB, free: 9.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02006/0.4616, allocations: 7.812 MB / 0.5007 GB, free: 1.742 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2661/0.7278, allocations: 27.68 MB / 0.5277 GB, free: 32.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7278, allocations: 0.5938 kB / 0.5277 GB, free: 32.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7279, allocations: 0 / 0.5277 GB, free: 32.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001323/0.7292, allocations: 0.5 kB / 0.5277 GB, free: 32.9 MB / 378.7 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.05754/0.7867, allocations: 17.16 MB / 0.5445 GB, free: 23.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7868, allocations: 7.531 kB / 0.5445 GB, free: 23.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/0.8087, allocations: 3.681 MB / 0.5481 GB, free: 21.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/0.8274, allocations: 9.066 MB / 0.5569 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008214/0.8283, allocations: 0.982 MB / 0.5579 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005578/0.8339, allocations: 1.311 MB / 0.5592 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04978/0.8837, allocations: 19.45 MB / 0.5782 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004969/0.8843, allocations: 17.91 kB / 0.5782 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005122/0.8894, allocations: 0.5367 MB / 0.5787 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006379/0.89, allocations: 0.6283 MB / 0.5793 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04031/0.9304, allocations: 17.18 MB / 0.5961 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/1.043, allocations: 59.55 MB / 0.6543 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2186/1.262, allocations: 34.42 MB / 0.6879 GB, free: 156.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01161/1.273, allocations: 6.932 MB / 0.6947 GB, free: 156 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03166/1.305, allocations: 19.29 MB / 0.7135 GB, free: 147.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/1.305, allocations: 105.4 kB / 0.7136 GB, free: 147.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=600): time 7.344e-06/1.305, allocations: 0 / 0.7136 GB, free: 147.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=713): time 0.08928/1.394, allocations: 34.18 MB / 0.747 GB, free: 122.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/1.395, allocations: 132.9 kB / 0.7471 GB, free: 122.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.407, allocations: 6.43 MB / 0.7534 GB, free: 116.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001132/1.408, allocations: 149.7 kB / 0.7535 GB, free: 116.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002473/1.41, allocations: 5.561 MB / 0.759 GB, free: 110.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.412, allocations: 2.396 MB / 0.7613 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001948/1.414, allocations: 1.326 MB / 0.7626 GB, free: 106.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/1.414, allocations: 309.1 kB / 0.7629 GB, free: 106.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/1.419, allocations: 4.005 MB / 0.7668 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/1.425, allocations: 5.834 MB / 0.7725 GB, free: 95.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.437, allocations: 10.57 MB / 0.7828 GB, free: 84.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/1.437, allocations: 16 kB / 0.7828 GB, free: 84.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02084/1.458, allocations: 13.52 MB / 0.796 GB, free: 70.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/1.458, allocations: 24.16 kB / 0.796 GB, free: 70.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.606e-05/1.458, allocations: 56 kB / 0.7961 GB, free: 70.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006271/1.464, allocations: 3.114 MB / 0.7991 GB, free: 67.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/1.469, allocations: 1.381 MB / 0.8005 GB, free: 66.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05468/1.524, allocations: 44.7 MB / 0.8441 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009835/1.534, allocations: 315.5 kB / 0.8444 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.536, allocations: 312 kB / 0.8447 GB, free: 18.99 MB / 490.7 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.01225/1.548, allocations: 4.479 MB / 0.8491 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/1.551, allocations: 0.7333 MB / 0.8498 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03543/1.586, allocations: 12.28 MB / 0.8618 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/1.586, allocations: 68 kB / 0.8619 GB, free: 1.297 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.846e-05/1.586, allocations: 40 kB / 0.8619 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001682/1.586, allocations: 35.88 kB / 0.862 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2932/1.88, allocations: 27.39 MB / 0.8887 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/1.88, allocations: 7.5 kB / 0.8887 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/1.883, allocations: 0.8641 MB / 0.8896 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00714/1.89, allocations: 3.424 MB / 0.8929 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009166/1.891, allocations: 200.5 kB / 0.8931 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0412/1.932, allocations: 45.5 MB / 0.9375 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.932, allocations: 9.812 kB / 0.9375 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3738/2.306, allocations: 126.9 MB / 1.062 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005237/2.312, allocations: 1.779 MB / 1.063 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/2.313, allocations: 176.9 kB / 1.063 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004057/2.317, allocations: 302.4 kB / 1.064 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/2.319, allocations: 0.5721 MB / 1.064 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000457/2.319, allocations: 196.7 kB / 1.064 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006543/2.326, allocations: 4.405 MB / 1.069 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/2.326, allocations: 3.906 kB / 1.069 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01324/2.339, allocations: 3.652 MB / 1.072 GB, free: 135.6 MB / 0.4948 GB 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.001314/2.34, allocations: 350.8 kB / 1.073 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01704/2.357, allocations: 13.23 MB / 1.086 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.358, allocations: 3.969 kB / 1.086 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/2.369, allocations: 8.27 MB / 1.094 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008778/2.377, allocations: 1.896 MB / 1.096 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05381/2.431, allocations: 40.37 MB / 1.135 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01222/2.444, allocations: 8.544 MB / 1.143 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007113/2.451, allocations: 1.913 MB / 1.145 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/2.452, allocations: 482.9 kB / 1.146 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/2.452, allocations: 3.938 kB / 1.146 GB, free: 93.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.4167/2.869, allocations: 169.2 MB / 1.311 GB, free: 103.2 MB / 0.5105 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)