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.000996/0.000996, allocations: 99.34 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002035/0.0002035, allocations: 8 kB / 307.1 MB, free: 1.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.0843, allocations: 51.52 MB / 358.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.1833/0.2676, allocations: 30.2 MB / 388.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.2856, allocations: 8.243 MB / 397.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004355/0.29, allocations: 225.1 kB / 397.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.294, allocations: 1.549 MB / 398.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007013/0.301, allocations: 2.446 MB / 401.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.3051, allocations: 1.256 MB / 402.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01784/0.323, allocations: 15.98 MB / 418.6 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.3358, allocations: 9.771 MB / 428.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.346, allocations: 4.958 MB / 433.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00925/0.3552, allocations: 6.416 MB / 439.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.3569, allocations: 0.8555 MB / 440.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.3603, allocations: 1.066 MB / 441.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002618/0.3629, allocations: 3.149 MB / 444.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003864/0.3668, allocations: 2.983 MB / 447.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0213/0.3881, allocations: 23.73 MB / 471.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3881, allocations: 0 / 471.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.109e-06/0.3882, allocations: 0 / 471.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006139/0.3888, allocations: 3.938 kB / 471.5 MB, free: 11.23 MB / 382.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.03735/0.4261, allocations: 14.55 MB / 486 MB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4262, allocations: 12.03 kB / 486.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/0.4481, allocations: 3.714 MB / 489.8 MB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/0.4651, allocations: 8.914 MB / 498.7 MB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008578/0.466, allocations: 0.9872 MB / 499.7 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003495/0.4695, allocations: 1.312 MB / 0.4892 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04329/0.5128, allocations: 19.35 MB / 0.5081 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.5132, allocations: 23.83 kB / 0.5082 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.5147, allocations: 0.5312 MB / 0.5087 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005142/0.5152, allocations: 0.6322 MB / 0.5093 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03608/0.5513, allocations: 17.11 MB / 0.526 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4259/0.9772, allocations: 59.84 MB / 0.5844 GB, free: 88.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02485/1.002, allocations: 34.38 MB / 0.618 GB, free: 57.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008812/1.011, allocations: 6.978 MB / 0.6248 GB, free: 50 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02608/1.037, allocations: 19.34 MB / 0.6437 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/1.037, allocations: 99.77 kB / 0.6438 GB, free: 30.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=600): time 7.294e-06/1.037, allocations: 0 / 0.6438 GB, free: 30.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=713): time 0.06697/1.104, allocations: 34.66 MB / 0.6777 GB, free: 11.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/1.104, allocations: 125 kB / 0.6778 GB, free: 11.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.116, allocations: 6.408 MB / 0.684 GB, free: 4.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.117, allocations: 145.7 kB / 0.6842 GB, free: 4.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00462/1.122, allocations: 5.573 MB / 0.6896 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0028/1.125, allocations: 2.396 MB / 0.692 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008468/1.126, allocations: 156 kB / 0.6921 GB, free: 12.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005397/1.126, allocations: 0.6089 MB / 0.6927 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006777/1.133, allocations: 3.994 MB / 0.6966 GB, free: 8.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00808/1.141, allocations: 5.826 MB / 0.7023 GB, free: 1.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008691/1.15, allocations: 5.083 MB / 0.7072 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-05/1.15, allocations: 16 kB / 0.7073 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.2185/1.368, allocations: 13.46 MB / 0.7204 GB, free: 153.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/1.369, allocations: 31.72 kB / 0.7204 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.366e-05/1.369, allocations: 51.84 kB / 0.7205 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007613/1.376, allocations: 3.114 MB / 0.7235 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/1.382, allocations: 1.39 MB / 0.7249 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04453/1.427, allocations: 44.71 MB / 0.7686 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/1.432, allocations: 332.2 kB / 0.7689 GB, free: 122.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009605/1.433, allocations: 308.5 kB / 0.7692 GB, free: 122.6 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[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 initialization (761): * Single equations (assignments): 743 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(8,67.2%) 49,(8,78.1%) 53,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008546/1.441, allocations: 4.493 MB / 0.7736 GB, free: 120.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002278/1.444, allocations: 0.724 MB / 0.7743 GB, free: 120.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/1.464, allocations: 12.27 MB / 0.7862 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/1.464, allocations: 65.44 kB / 0.7863 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/1.464, allocations: 44.98 kB / 0.7863 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.299e-05/1.464, allocations: 37.97 kB / 0.7864 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0399/1.504, allocations: 27.38 MB / 0.8131 GB, free: 89.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/1.504, allocations: 4.688 kB / 0.8131 GB, free: 89.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003413/1.508, allocations: 0.866 MB / 0.814 GB, free: 88.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006835/1.514, allocations: 3.421 MB / 0.8173 GB, free: 85.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006634/1.515, allocations: 199.4 kB / 0.8175 GB, free: 85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04302/1.558, allocations: 45.51 MB / 0.8619 GB, free: 38.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.558, allocations: 7.938 kB / 0.862 GB, free: 38.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/1.584, allocations: 17.69 MB / 0.8792 GB, free: 20.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003903/1.588, allocations: 1.784 MB / 0.881 GB, free: 18.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00193/1.59, allocations: 172 kB / 0.8811 GB, free: 18.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004059/1.594, allocations: 323.8 kB / 0.8814 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/1.595, allocations: 0.5759 MB / 0.882 GB, free: 17.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005387/1.596, allocations: 188 kB / 0.8822 GB, free: 17.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006583/1.602, allocations: 4.377 MB / 0.8865 GB, free: 12.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.602, allocations: 4 kB / 0.8865 GB, free: 12.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00878/1.611, allocations: 2.682 MB / 0.8891 GB, free: 10.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(8,78.1%) 52,(8,67.2%) 48,(6,86.1%) 51,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008506/1.612, allocations: 341.8 kB / 0.8894 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2075/1.819, allocations: 13.21 MB / 0.9023 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.819, allocations: 2.75 kB / 0.9023 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01229/1.832, allocations: 8.268 MB / 0.9104 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00867/1.84, allocations: 1.947 MB / 0.9123 GB, free: 142 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04061/1.881, allocations: 30.79 MB / 0.9424 GB, free: 127.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007137/1.888, allocations: 8.306 MB / 0.9505 GB, free: 124.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006127/1.894, allocations: 1.882 MB / 0.9523 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.896, allocations: 465.2 kB / 0.9528 GB, free: 124.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.896, allocations: 4 kB / 0.9528 GB, free: 124.4 MB / 494.1 MB Notification: Performance of Templates: time 0.1756/2.072, allocations: 130.1 MB / 1.08 GB, free: 13.06 MB / 0.4982 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)