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.001249/0.001249, allocations: 94.19 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 4 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1002, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.1991/0.2993, allocations: 27.28 MB / 385.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.3151, allocations: 8.61 MB / 394 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006019/0.3211, allocations: 211.2 kB / 394.2 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005671/0.3268, allocations: 1.679 MB / 395.9 MB, free: 328 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3371, allocations: 2.775 MB / 398.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.3423, allocations: 1.291 MB / 399.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01901/0.3613, allocations: 11.06 MB / 411 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01671/0.3781, allocations: 9.799 MB / 420.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008877/0.387, allocations: 4.862 MB / 425.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009686/0.3967, allocations: 5.832 MB / 431.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003234/0.4, allocations: 0.8516 MB / 432.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006963/0.407, allocations: 1.039 MB / 433.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004891/0.4119, allocations: 3.006 MB / 436.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006069/0.418, allocations: 2.987 MB / 439.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02367/0.4417, allocations: 23.57 MB / 462.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4417, allocations: 4 kB / 462.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4417, allocations: 0 / 462.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007481/0.4425, allocations: 0 / 462.9 MB, free: 3.789 MB / 366.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.03951/0.482, allocations: 14.46 MB / 477.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.482, allocations: 12.03 kB / 477.4 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/0.5034, allocations: 3.706 MB / 481.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01969/0.5231, allocations: 9.015 MB / 490.1 MB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/0.5242, allocations: 0.9833 MB / 491.1 MB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004367/0.5286, allocations: 1.312 MB / 492.4 MB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04656/0.5751, allocations: 19.21 MB / 0.4997 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004203/0.5756, allocations: 15.84 kB / 0.4997 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003264/0.5789, allocations: 0.5351 MB / 0.5002 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005828/0.5795, allocations: 0.6322 MB / 0.5008 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03963/0.6191, allocations: 17 MB / 0.5174 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4842/1.103, allocations: 59.58 MB / 0.5756 GB, free: 93.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02744/1.131, allocations: 34.29 MB / 0.6091 GB, free: 62.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03115/1.162, allocations: 19.14 MB / 0.6278 GB, free: 46.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/1.162, allocations: 103.4 kB / 0.6279 GB, free: 46.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=613): time 7.624e-06/1.162, allocations: 4 kB / 0.6279 GB, free: 46.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=804): time 0.07845/1.241, allocations: 40.32 MB / 0.6672 GB, free: 5.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/1.241, allocations: 133.7 kB / 0.6674 GB, free: 5.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008451/1.249, allocations: 6.265 MB / 0.6735 GB, free: 15.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001295/1.25, allocations: 161.6 kB / 0.6736 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0039/1.254, allocations: 5.531 MB / 0.6791 GB, free: 9.824 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003083/1.257, allocations: 2.693 MB / 0.6817 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005744/1.258, allocations: 172 kB / 0.6818 GB, free: 6.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004385/1.259, allocations: 0.6338 MB / 0.6825 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00718/1.266, allocations: 4.452 MB / 0.6868 GB, free: 1.883 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009094/1.275, allocations: 6.246 MB / 0.6929 GB, free: 10.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009031/1.284, allocations: 5.612 MB / 0.6984 GB, free: 5.289 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.726e-05/1.284, allocations: 12 kB / 0.6984 GB, free: 5.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=1081) (initialization): time 0.02749/1.311, allocations: 15.06 MB / 0.7131 GB, free: 6.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/1.312, allocations: 28 kB / 0.7131 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.587e-05/1.312, allocations: 48 kB / 0.7132 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008444/1.32, allocations: 3.779 MB / 0.7169 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006624/1.327, allocations: 1.475 MB / 0.7183 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2945/1.621, allocations: 55.29 MB / 0.7723 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007205/1.628, allocations: 354.1 kB / 0.7726 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.63, allocations: 325.5 kB / 0.7729 GB, free: 122.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 226 * 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 (779): * Single equations (assignments): 759 * 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: 17 * 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: 17 {(6,75.0%) 51,(8,64.1%) 47,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(8,78.1%) 51,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,75.0%) 25,(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.01128/1.642, allocations: 4.576 MB / 0.7774 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002415/1.644, allocations: 0.7468 MB / 0.7781 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02414/1.668, allocations: 13.71 MB / 0.7915 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/1.668, allocations: 76 kB / 0.7916 GB, free: 111.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001214/1.668, allocations: 44 kB / 0.7917 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001392/1.669, allocations: 39.84 kB / 0.7917 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04783/1.716, allocations: 29.87 MB / 0.8209 GB, free: 81.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/1.717, allocations: 8 kB / 0.8209 GB, free: 81.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004667/1.721, allocations: 1.05 MB / 0.8219 GB, free: 80.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00715/1.728, allocations: 3.514 MB / 0.8253 GB, free: 77.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001274/1.73, allocations: 202.7 kB / 0.8255 GB, free: 77.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04472/1.774, allocations: 48.49 MB / 0.8729 GB, free: 27.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.774, allocations: 7.938 kB / 0.8729 GB, free: 27.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/1.801, allocations: 20.74 MB / 0.8931 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004439/1.805, allocations: 1.89 MB / 0.895 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/1.807, allocations: 181.2 kB / 0.8951 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/1.812, allocations: 359.7 kB / 0.8955 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/1.813, allocations: 0.6312 MB / 0.8961 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004803/1.813, allocations: 216 kB / 0.8963 GB, free: 2.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.1997/2.013, allocations: 4.273 MB / 0.9005 GB, free: 142.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.42e-07/2.013, allocations: 0 / 0.9005 GB, free: 142.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01295/2.026, allocations: 2.802 MB / 0.9032 GB, free: 142.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 22 (idealCloserM.idealClosingSwitch[1].s,idealCloserM.idealClosingSwitch[2].s,idealCloserM.idealClosingSwitch[3].s,idealCloserM.idealClosingSwitch[4].s,idealCloserM.idealClosingSwitch[5].s,aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re,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,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.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 (512): * Single equations (assignments): 500 * 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 {(6,75.0%) 50,(8,64.1%) 46,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 22,(3,100.0%) 22,(1,100.0%) 1,(3,100.0%) 29,(8,78.1%) 51,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/2.028, allocations: 357.5 kB / 0.9036 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02458/2.052, allocations: 15.03 MB / 0.9182 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/2.052, allocations: 7.406 kB / 0.9182 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01426/2.067, allocations: 9.036 MB / 0.9271 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/2.077, allocations: 1.831 MB / 0.9289 GB, free: 135.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05287/2.13, allocations: 31.97 MB / 0.9601 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/2.142, allocations: 8.711 MB / 0.9686 GB, free: 107.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008487/2.15, allocations: 2.001 MB / 0.9705 GB, free: 105.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/2.153, allocations: 483.4 kB / 0.971 GB, free: 105.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/2.153, allocations: 0 / 0.971 GB, free: 105.4 MB / 494.1 MB Notification: Performance of Templates: time 0.3944/2.547, allocations: 135.6 MB / 1.103 GB, free: 142.9 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)