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.001137/0.001137, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.11 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09217, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.1828/0.275, allocations: 34.35 MB / 393.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.2944, allocations: 8.785 MB / 402.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007171/0.3016, allocations: 245.4 kB / 402.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006963/0.3086, allocations: 2.211 MB / 404.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.3204, allocations: 2.938 MB / 407.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.3269, allocations: 1.947 MB / 409.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02214/0.349, allocations: 15.93 MB / 425.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01976/0.3688, allocations: 14.15 MB / 439.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.3806, allocations: 7.549 MB / 447 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01461/0.3953, allocations: 9.079 MB / 456.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005785/0.4011, allocations: 2.227 MB / 458.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007645/0.4087, allocations: 2.449 MB / 460.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005307/0.4141, allocations: 4.792 MB / 465.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01521/0.4293, allocations: 8.914 MB / 474.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02848/0.4578, allocations: 28.68 MB / 0.4914 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4578, allocations: 4 kB / 0.4914 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4578, allocations: 0 / 0.4914 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007843/0.4586, allocations: 3.938 kB / 0.4914 GB, free: 11.46 MB / 414.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.05326/0.5119, allocations: 17.25 MB / 0.5082 GB, free: 10.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.512, allocations: 8.031 kB / 0.5082 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02243/0.5344, allocations: 3.684 MB / 0.5118 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02292/0.5574, allocations: 9.558 MB / 0.5212 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/0.5584, allocations: 0.9839 MB / 0.5221 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004445/0.5629, allocations: 1.316 MB / 0.5234 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3842/0.947, allocations: 19.45 MB / 0.5424 GB, free: 118.4 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006666/0.9477, allocations: 11.5 kB / 0.5424 GB, free: 118.4 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004311/0.9521, allocations: 0.5325 MB / 0.5429 GB, free: 118 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009312/0.953, allocations: 0.6339 MB / 0.5436 GB, free: 117.9 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04112/0.9941, allocations: 17.18 MB / 0.5603 GB, free: 111.1 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.108/1.102, allocations: 58.79 MB / 0.6177 GB, free: 60.15 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/1.131, allocations: 34.43 MB / 0.6514 GB, free: 23.62 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01096/1.142, allocations: 6.932 MB / 0.6581 GB, free: 16.65 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03635/1.179, allocations: 19.21 MB / 0.6769 GB, free: 13.22 MB / 462.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/1.179, allocations: 99.27 kB / 0.677 GB, free: 13.11 MB / 462.2 MB Notification: Performance of pre-optimization done (n=600): time 1.101e-05/1.179, allocations: 7.938 kB / 0.677 GB, free: 13.11 MB / 462.2 MB Notification: Performance of matching and sorting (n=713): time 0.08496/1.264, allocations: 34.18 MB / 0.7104 GB, free: 10.55 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/1.264, allocations: 129 kB / 0.7105 GB, free: 10.41 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/1.278, allocations: 6.462 MB / 0.7168 GB, free: 3.949 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001241/1.279, allocations: 141.7 kB / 0.7169 GB, free: 3.805 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.1835/1.463, allocations: 5.565 MB / 0.7224 GB, free: 156.9 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002312/1.465, allocations: 2.399 MB / 0.7247 GB, free: 156 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002382/1.467, allocations: 1.324 MB / 0.726 GB, free: 156 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/1.467, allocations: 303.8 kB / 0.7263 GB, free: 155.7 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005676/1.473, allocations: 4.007 MB / 0.7302 GB, free: 154.6 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007238/1.48, allocations: 5.841 MB / 0.7359 GB, free: 150.9 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.496, allocations: 10.57 MB / 0.7462 GB, free: 144.6 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/1.496, allocations: 15.72 kB / 0.7463 GB, free: 144.6 MB / 494.2 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02505/1.521, allocations: 13.51 MB / 0.7594 GB, free: 138.8 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 9.342e-05/1.521, allocations: 27.41 kB / 0.7595 GB, free: 138.8 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.521, allocations: 54.03 kB / 0.7595 GB, free: 138.8 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006532/1.528, allocations: 3.12 MB / 0.7626 GB, free: 137.8 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005307/1.533, allocations: 1.387 MB / 0.7639 GB, free: 137.7 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04209/1.575, allocations: 48.23 MB / 0.811 GB, free: 95.14 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/1.581, allocations: 323.7 kB / 0.8113 GB, free: 94.86 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.583, allocations: 303.2 kB / 0.8116 GB, free: 94.57 MB / 494.2 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.007848/1.591, allocations: 4.498 MB / 0.816 GB, free: 90.47 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/1.593, allocations: 0.7255 MB / 0.8167 GB, free: 89.73 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02152/1.614, allocations: 12.28 MB / 0.8287 GB, free: 77.34 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/1.614, allocations: 68 kB / 0.8288 GB, free: 77.27 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/1.615, allocations: 47.98 kB / 0.8288 GB, free: 77.22 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001196/1.615, allocations: 35.86 kB / 0.8289 GB, free: 77.19 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04759/1.662, allocations: 27.34 MB / 0.8556 GB, free: 49.77 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/1.662, allocations: 4 kB / 0.8556 GB, free: 49.77 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00382/1.666, allocations: 0.8667 MB / 0.8564 GB, free: 48.9 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007226/1.673, allocations: 3.422 MB / 0.8598 GB, free: 45.44 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008881/1.674, allocations: 195.9 kB / 0.8599 GB, free: 45.25 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2204/1.895, allocations: 49.21 MB / 0.908 GB, free: 136.3 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.895, allocations: 9.219 kB / 0.908 GB, free: 136.3 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02836/1.923, allocations: 17.73 MB / 0.9253 GB, free: 132.2 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004779/1.928, allocations: 1.78 MB / 0.9271 GB, free: 131.5 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/1.93, allocations: 179.2 kB / 0.9272 GB, free: 131.4 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003568/1.933, allocations: 302.4 kB / 0.9275 GB, free: 131.3 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/1.935, allocations: 0.5728 MB / 0.9281 GB, free: 131.2 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000398/1.935, allocations: 193 kB / 0.9283 GB, free: 131.1 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.005372/1.94, allocations: 4.427 MB / 0.9326 GB, free: 129.5 MB / 494.2 MB Notification: Performance of sort global known variables: time 6.11e-07/1.94, allocations: 2.516 kB / 0.9326 GB, free: 129.5 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.007333/1.948, allocations: 2.676 MB / 0.9352 GB, free: 129.2 MB / 494.2 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.0007221/1.948, allocations: 344.9 kB / 0.9355 GB, free: 129 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.01659/1.965, allocations: 13.27 MB / 0.9485 GB, free: 122.4 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.965, allocations: 7.781 kB / 0.9485 GB, free: 122.4 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.01099/1.976, allocations: 8.266 MB / 0.9566 GB, free: 118.1 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00932/1.985, allocations: 1.993 MB / 0.9585 GB, free: 117.4 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03959/2.025, allocations: 25.92 MB / 0.9838 GB, free: 95.05 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009381/2.034, allocations: 8.309 MB / 0.9919 GB, free: 88.34 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.005538/2.04, allocations: 1.874 MB / 0.9938 GB, free: 86.46 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/2.041, allocations: 471.4 kB / 0.9942 GB, free: 86.01 MB / 494.2 MB Notification: Performance of SimCode: time 1.332e-06/2.041, allocations: 2.078 kB / 0.9942 GB, free: 86.01 MB / 494.2 MB Notification: Performance of Templates: time 0.3632/2.405, allocations: 130.6 MB / 1.122 GB, free: 136.7 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 -s gbode -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)