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.001711/0.001711, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.496/2.496, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 59.91 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5484, allocations: 50.55 MB / 410 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.05712/0.6056, allocations: 34.34 MB / 444.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03544/0.6411, allocations: 8.79 MB / 453.1 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01335/0.6545, allocations: 243.1 kB / 453.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.6664, allocations: 2.202 MB / 455.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01998/0.6865, allocations: 2.95 MB / 458.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.697, allocations: 1.935 MB / 460.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03345/0.7305, allocations: 15.94 MB / 476.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04151/0.7721, allocations: 14.15 MB / 490.5 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02178/0.794, allocations: 7.607 MB / 498.1 MB, free: 8.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02566/0.8197, allocations: 9.075 MB / 0.4953 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01137/0.8311, allocations: 2.223 MB / 0.4975 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/0.8465, allocations: 2.445 MB / 0.4999 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01379/0.8603, allocations: 4.8 MB / 0.5045 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03206/0.8925, allocations: 8.914 MB / 0.5133 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06107/0.9536, allocations: 28.7 MB / 0.5413 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.9537, allocations: 0 / 0.5413 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.9537, allocations: 0 / 0.5413 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001164/0.9549, allocations: 4 kB / 0.5413 GB, free: 0.668 MB / 462.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.8639/1.819, allocations: 17.24 MB / 0.5581 GB, free: 103.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/1.819, allocations: 11.81 kB / 0.5581 GB, free: 103.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0417/1.861, allocations: 3.683 MB / 0.5617 GB, free: 101.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03643/1.897, allocations: 9.566 MB / 0.5711 GB, free: 91.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00178/1.899, allocations: 0.9769 MB / 0.572 GB, free: 90.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008118/1.907, allocations: 1.31 MB / 0.5733 GB, free: 89.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08228/1.989, allocations: 19.46 MB / 0.5923 GB, free: 70.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001015/1.991, allocations: 7.906 kB / 0.5923 GB, free: 70.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006509/1.997, allocations: 0.5388 MB / 0.5928 GB, free: 69.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001794/1.999, allocations: 0.6322 MB / 0.5935 GB, free: 68.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05871/2.058, allocations: 17.17 MB / 0.6102 GB, free: 51.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/2.243, allocations: 58.79 MB / 0.6676 GB, free: 8.391 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06335/2.307, allocations: 34.41 MB / 0.7012 GB, free: 3.84 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02562/2.332, allocations: 6.953 MB / 0.708 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08509/2.417, allocations: 19.21 MB / 0.7268 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/2.418, allocations: 111.2 kB / 0.7269 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=600): time 1.328e-05/2.418, allocations: 0 / 0.7269 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=713): time 0.6645/3.082, allocations: 34.21 MB / 0.7603 GB, free: 180.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/3.082, allocations: 127.6 kB / 0.7604 GB, free: 180.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01972/3.102, allocations: 6.467 MB / 0.7667 GB, free: 178.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001979/3.104, allocations: 151.5 kB / 0.7669 GB, free: 178.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007051/3.111, allocations: 5.565 MB / 0.7723 GB, free: 174 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004865/3.116, allocations: 2.394 MB / 0.7747 GB, free: 172.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005222/3.122, allocations: 1.331 MB / 0.776 GB, free: 171.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/3.122, allocations: 301.1 kB / 0.7762 GB, free: 171.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01118/3.133, allocations: 4.005 MB / 0.7802 GB, free: 169.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01476/3.148, allocations: 5.838 MB / 0.7859 GB, free: 165.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0242/3.172, allocations: 10.57 MB / 0.7962 GB, free: 159.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/3.172, allocations: 15.69 kB / 0.7962 GB, free: 159.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.03987/3.212, allocations: 13.51 MB / 0.8094 GB, free: 148.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/3.212, allocations: 24 kB / 0.8094 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/3.212, allocations: 52 kB / 0.8095 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/3.224, allocations: 3.118 MB / 0.8125 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02734/3.251, allocations: 1.385 MB / 0.8139 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1063/3.357, allocations: 48.24 MB / 0.861 GB, free: 93.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01217/3.37, allocations: 319.5 kB / 0.8613 GB, free: 93.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002183/3.372, allocations: 308 kB / 0.8616 GB, free: 93.25 MB / 0.545 GB 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.0146/3.386, allocations: 4.495 MB / 0.866 GB, free: 88.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003551/3.39, allocations: 0.7256 MB / 0.8667 GB, free: 88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04202/3.432, allocations: 12.28 MB / 0.8787 GB, free: 75.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/3.432, allocations: 71.98 kB / 0.8787 GB, free: 75.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001905/3.433, allocations: 40 kB / 0.8788 GB, free: 75.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002367/3.433, allocations: 35.88 kB / 0.8788 GB, free: 75.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09202/3.525, allocations: 27.35 MB / 0.9055 GB, free: 48.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001147/3.525, allocations: 4 kB / 0.9055 GB, free: 48.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008584/3.534, allocations: 0.8627 MB / 0.9064 GB, free: 47.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01414/3.548, allocations: 3.428 MB / 0.9097 GB, free: 43.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001734/3.55, allocations: 199.9 kB / 0.9099 GB, free: 43.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09311/3.643, allocations: 49.2 MB / 0.9579 GB, free: 8.684 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/3.643, allocations: 11.94 kB / 0.9579 GB, free: 8.672 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4371/4.08, allocations: 17.72 MB / 0.9753 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008347/4.088, allocations: 1.776 MB / 0.977 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004/4.092, allocations: 183.5 kB / 0.9772 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009305/4.102, allocations: 301.2 kB / 0.9775 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003111/4.105, allocations: 0.5717 MB / 0.978 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001425/4.106, allocations: 199 kB / 0.9782 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01346/4.12, allocations: 4.425 MB / 0.9825 GB, free: 175.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.162e-06/4.12, allocations: 0.5469 kB / 0.9825 GB, free: 175.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01857/4.138, allocations: 2.675 MB / 0.9851 GB, free: 175 MB / 0.5607 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.002092/4.141, allocations: 342.1 kB / 0.9855 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.03631/4.177, allocations: 13.27 MB / 0.9984 GB, free: 168.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/4.177, allocations: 3.906 kB / 0.9984 GB, free: 168.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.02432/4.201, allocations: 8.265 MB / 1.006 GB, free: 164 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01928/4.221, allocations: 2 MB / 1.008 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08828/4.309, allocations: 25.9 MB / 1.034 GB, free: 141.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02178/4.331, allocations: 8.123 MB / 1.042 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00351/4.334, allocations: 0.5103 MB / 1.042 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of SimCode: time 2.584e-06/4.334, allocations: 0 / 1.042 GB, free: 134.7 MB / 0.5607 GB Notification: Performance of Templates: time 4.288/8.623, allocations: 1.23 GB / 2.272 GB, free: 189.9 MB / 0.5919 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)