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.001288/0.001288, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 8.867 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.86 kB / 306.9 MB, free: 0.7617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09457, allocations: 50.53 MB / 357.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.2036/0.2982, allocations: 33.78 MB / 391.2 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02491/0.3232, allocations: 8.661 MB / 399.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01153/0.3348, allocations: 232.9 kB / 400.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007859/0.3428, allocations: 1.892 MB / 402 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.3542, allocations: 2.657 MB / 404.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007212/0.3614, allocations: 1.781 MB / 406.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02153/0.3829, allocations: 16.9 MB / 423.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01951/0.4025, allocations: 11.79 MB / 435.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.4132, allocations: 5.873 MB / 441 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.4252, allocations: 7.697 MB / 448.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00467/0.4299, allocations: 1.242 MB / 450 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006957/0.4369, allocations: 1.468 MB / 451.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005997/0.4429, allocations: 3.753 MB / 455.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0175/0.4605, allocations: 7.812 MB / 463 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02592/0.4864, allocations: 24.44 MB / 487.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4865, allocations: 0 / 487.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4865, allocations: 0 / 487.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008709/0.4874, allocations: 4 kB / 487.5 MB, free: 10.37 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.05253/0.5399, allocations: 17.19 MB / 0.4928 GB, free: 9.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.54, allocations: 8.031 kB / 0.4928 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02217/0.5621, allocations: 3.688 MB / 0.4964 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/0.5848, allocations: 9.098 MB / 0.5053 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/0.5862, allocations: 0.98 MB / 0.5063 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005589/0.5918, allocations: 1.312 MB / 0.5075 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05462/0.6465, allocations: 19.45 MB / 0.5265 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007263/0.6473, allocations: 15.89 kB / 0.5266 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005598/0.6529, allocations: 0.539 MB / 0.5271 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006414/0.6535, allocations: 0.6283 MB / 0.5277 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4585/1.112, allocations: 17.18 MB / 0.5445 GB, free: 118.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1081/1.22, allocations: 59.56 MB / 0.6026 GB, free: 74.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02754/1.248, allocations: 34.43 MB / 0.6363 GB, free: 38.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009673/1.257, allocations: 6.939 MB / 0.643 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03021/1.288, allocations: 19.28 MB / 0.6619 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.564e-05/1.288, allocations: 103.8 kB / 0.662 GB, free: 11.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=600): time 7.945e-06/1.288, allocations: 0 / 0.662 GB, free: 11.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=713): time 0.07784/1.366, allocations: 34.18 MB / 0.6953 GB, free: 9.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/1.366, allocations: 125 kB / 0.6955 GB, free: 8.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.376, allocations: 6.458 MB / 0.7018 GB, free: 2.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001129/1.378, allocations: 153.7 kB / 0.7019 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003835/1.381, allocations: 5.566 MB / 0.7073 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002563/1.384, allocations: 2.403 MB / 0.7097 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002301/1.386, allocations: 1.33 MB / 0.711 GB, free: 8.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/1.386, allocations: 301.1 kB / 0.7113 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006223/1.393, allocations: 4.009 MB / 0.7152 GB, free: 4.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2009/1.594, allocations: 5.836 MB / 0.7209 GB, free: 154.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/1.611, allocations: 10.58 MB / 0.7312 GB, free: 150.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001581/1.611, allocations: 14.66 kB / 0.7312 GB, free: 150.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.0278/1.639, allocations: 13.5 MB / 0.7444 GB, free: 145.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/1.639, allocations: 33.06 kB / 0.7444 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/1.64, allocations: 52.78 kB / 0.7445 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00744/1.647, allocations: 3.12 MB / 0.7475 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006051/1.653, allocations: 1.387 MB / 0.7489 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03971/1.693, allocations: 44.7 MB / 0.7926 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007304/1.7, allocations: 317.9 kB / 0.7929 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.702, allocations: 311.5 kB / 0.7932 GB, free: 108.3 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.008495/1.71, allocations: 4.489 MB / 0.7975 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/1.712, allocations: 0.7234 MB / 0.7982 GB, free: 104 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01882/1.731, allocations: 12.29 MB / 0.8102 GB, free: 93.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/1.731, allocations: 68 kB / 0.8103 GB, free: 93.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-05/1.731, allocations: 44 kB / 0.8104 GB, free: 93.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-05/1.731, allocations: 32.81 kB / 0.8104 GB, free: 93.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0441/1.775, allocations: 27.42 MB / 0.8372 GB, free: 66.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-05/1.775, allocations: 4.094 kB / 0.8372 GB, free: 66.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/1.779, allocations: 0.866 MB / 0.838 GB, free: 65.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007565/1.787, allocations: 3.424 MB / 0.8414 GB, free: 61.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/1.788, allocations: 195.9 kB / 0.8415 GB, free: 61.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04223/1.83, allocations: 45.51 MB / 0.886 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.83, allocations: 11.94 kB / 0.886 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2667/2.097, allocations: 17.72 MB / 0.9033 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005383/2.102, allocations: 1.779 MB / 0.905 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002606/2.105, allocations: 174.6 kB / 0.9052 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005051/2.11, allocations: 301.6 kB / 0.9055 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/2.112, allocations: 0.5727 MB / 0.906 GB, free: 139 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006087/2.113, allocations: 194.8 kB / 0.9062 GB, free: 139 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0104/2.123, allocations: 4.427 MB / 0.9105 GB, free: 138.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.01e-07/2.123, allocations: 1.062 kB / 0.9106 GB, free: 138.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01438/2.138, allocations: 2.676 MB / 0.9132 GB, free: 138.8 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.001745/2.139, allocations: 355.9 kB / 0.9135 GB, free: 138.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02118/2.161, allocations: 13.23 MB / 0.9264 GB, free: 134 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/2.161, allocations: 3.5 kB / 0.9264 GB, free: 134 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01411/2.175, allocations: 8.273 MB / 0.9345 GB, free: 129.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01215/2.187, allocations: 1.894 MB / 0.9364 GB, free: 129.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05033/2.237, allocations: 31.83 MB / 0.9674 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/2.25, allocations: 8.116 MB / 0.9754 GB, free: 99.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/2.252, allocations: 0.5131 MB / 0.9759 GB, free: 98.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/2.252, allocations: 4 kB / 0.9759 GB, free: 98.79 MB / 494.1 MB Notification: Performance of Templates: time 2.251/4.504, allocations: 1.228 GB / 2.203 GB, free: 30.13 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)