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.001093/0.001093, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 55.91 kB / 358.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2843, allocations: 50.55 MB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.03305/0.3174, allocations: 34.35 MB / 443.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.3341, allocations: 8.794 MB / 452.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005944/0.3401, allocations: 247.1 kB / 452.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006512/0.3466, allocations: 2.267 MB / 454.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.3571, allocations: 3.052 MB / 458 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006108/0.3632, allocations: 1.936 MB / 459.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01942/0.3826, allocations: 15.94 MB / 475.9 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01797/0.4006, allocations: 14.14 MB / 490 MB, free: 492 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.4131, allocations: 7.607 MB / 497.6 MB, free: 8.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.4269, allocations: 9.083 MB / 0.4948 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00588/0.4328, allocations: 2.227 MB / 0.497 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008438/0.4413, allocations: 2.441 MB / 0.4994 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006647/0.4479, allocations: 4.796 MB / 0.5041 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0146/0.4626, allocations: 8.918 MB / 0.5128 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03271/0.4953, allocations: 28.7 MB / 0.5408 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4954, allocations: 0 / 0.5408 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4954, allocations: 0 / 0.5408 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000826/0.4962, allocations: 0 / 0.5408 GB, free: 0.5234 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.4501/0.9463, allocations: 17.24 MB / 0.5576 GB, free: 103.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9463, allocations: 11.91 kB / 0.5576 GB, free: 103.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/0.9668, allocations: 3.684 MB / 0.5612 GB, free: 101.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/0.9829, allocations: 9.567 MB / 0.5706 GB, free: 91.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005196/0.9835, allocations: 0.9808 MB / 0.5715 GB, free: 90.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00284/0.9863, allocations: 1.315 MB / 0.5728 GB, free: 89.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03183/1.018, allocations: 19.45 MB / 0.5918 GB, free: 70.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002594/1.018, allocations: 11.84 kB / 0.5918 GB, free: 70.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/1.02, allocations: 0.546 MB / 0.5924 GB, free: 69.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003539/1.02, allocations: 0.6283 MB / 0.593 GB, free: 68.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02682/1.047, allocations: 17.17 MB / 0.6097 GB, free: 51.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08369/1.131, allocations: 58.79 MB / 0.6672 GB, free: 8.359 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03235/1.163, allocations: 34.42 MB / 0.7008 GB, free: 3.793 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0108/1.174, allocations: 6.937 MB / 0.7075 GB, free: 12.81 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03422/1.208, allocations: 19.21 MB / 0.7263 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/1.208, allocations: 107.2 kB / 0.7264 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=600): time 7.224e-06/1.208, allocations: 0 / 0.7264 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=713): time 0.3128/1.521, allocations: 34.21 MB / 0.7598 GB, free: 180.8 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/1.521, allocations: 130.6 kB / 0.7599 GB, free: 180.7 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008225/1.53, allocations: 6.458 MB / 0.7663 GB, free: 178.4 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0008527/1.531, allocations: 143.9 kB / 0.7664 GB, free: 178.2 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.002861/1.533, allocations: 5.572 MB / 0.7718 GB, free: 174 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.535, allocations: 2.4 MB / 0.7742 GB, free: 172.2 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001781/1.537, allocations: 1.322 MB / 0.7755 GB, free: 171.6 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/1.537, allocations: 306.2 kB / 0.7758 GB, free: 171.3 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.542, allocations: 4.009 MB / 0.7797 GB, free: 169.6 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/1.548, allocations: 5.837 MB / 0.7854 GB, free: 165.9 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.559, allocations: 10.57 MB / 0.7957 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.808e-05/1.559, allocations: 14.69 kB / 0.7957 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.01833/1.578, allocations: 13.51 MB / 0.8089 GB, free: 148.7 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.578, allocations: 28 kB / 0.8089 GB, free: 148.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-05/1.578, allocations: 52 kB / 0.809 GB, free: 148.7 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/1.584, allocations: 3.117 MB / 0.812 GB, free: 145.5 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004771/1.589, allocations: 1.385 MB / 0.8134 GB, free: 144.1 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04116/1.63, allocations: 48.23 MB / 0.8605 GB, free: 93.85 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00633/1.636, allocations: 327.5 kB / 0.8608 GB, free: 93.53 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.637, allocations: 308 kB / 0.8611 GB, free: 93.23 MB / 0.5451 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.007644/1.645, allocations: 4.497 MB / 0.8655 GB, free: 88.72 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/1.647, allocations: 0.7295 MB / 0.8662 GB, free: 87.98 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.664, allocations: 12.28 MB / 0.8782 GB, free: 75.59 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/1.664, allocations: 68 kB / 0.8782 GB, free: 75.53 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.609e-05/1.665, allocations: 43.66 kB / 0.8783 GB, free: 75.49 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.269e-05/1.665, allocations: 35.86 kB / 0.8783 GB, free: 75.45 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04278/1.707, allocations: 27.34 MB / 0.905 GB, free: 48.02 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.707, allocations: 8 kB / 0.905 GB, free: 48.02 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/1.711, allocations: 0.8663 MB / 0.9059 GB, free: 47.15 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00689/1.718, allocations: 3.424 MB / 0.9092 GB, free: 43.69 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000625/1.719, allocations: 191.9 kB / 0.9094 GB, free: 43.5 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04738/1.766, allocations: 49.21 MB / 0.9575 GB, free: 8.66 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.766, allocations: 7.938 kB / 0.9575 GB, free: 8.652 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3425/2.108, allocations: 17.73 MB / 0.9748 GB, free: 175.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004901/2.113, allocations: 1.783 MB / 0.9765 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/2.116, allocations: 179.8 kB / 0.9767 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004696/2.12, allocations: 306.4 kB / 0.977 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00163/2.122, allocations: 0.5713 MB / 0.9775 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004348/2.122, allocations: 196.2 kB / 0.9777 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007765/2.13, allocations: 4.422 MB / 0.982 GB, free: 175.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.7e-07/2.13, allocations: 0 / 0.982 GB, free: 175.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01165/2.142, allocations: 2.675 MB / 0.9847 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.0012/2.143, allocations: 343.3 kB / 0.985 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01782/2.161, allocations: 13.27 MB / 0.9979 GB, free: 168.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/2.161, allocations: 3.281 kB / 0.9979 GB, free: 168.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01144/2.172, allocations: 8.269 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.01029/2.183, allocations: 1.989 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.04308/2.226, allocations: 25.92 MB / 1.033 GB, free: 141.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008467/2.234, allocations: 8.309 MB / 1.041 GB, free: 135 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005565/2.24, allocations: 1.877 MB / 1.043 GB, free: 133.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/2.241, allocations: 467.4 kB / 1.044 GB, free: 133 MB / 0.5607 GB Notification: Performance of SimCode: time 9.72e-07/2.241, allocations: 0 / 1.044 GB, free: 133 MB / 0.5607 GB Notification: Performance of Templates: time 0.1811/2.422, allocations: 134 MB / 1.175 GB, free: 152 kB / 0.5607 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)