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.001439/0.001439, allocations: 114.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.001583/0.001583, allocations: 204.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.366/1.366, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.7 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09822, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.2198/0.3181, allocations: 34.34 MB / 393.3 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.3408, allocations: 8.792 MB / 402.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008037/0.3489, allocations: 237.6 kB / 402.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007524/0.3565, allocations: 2.206 MB / 404.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.3677, allocations: 2.952 MB / 407.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.3753, allocations: 1.939 MB / 409.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02501/0.4003, allocations: 15.94 MB / 425.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02298/0.4233, allocations: 14.14 MB / 439.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.4363, allocations: 7.545 MB / 447 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01703/0.4534, allocations: 9.079 MB / 456.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007913/0.4613, allocations: 2.23 MB / 458.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/0.4748, allocations: 2.449 MB / 460.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01177/0.4866, allocations: 4.792 MB / 465.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02117/0.5078, allocations: 8.918 MB / 474.5 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04737/0.5552, allocations: 28.69 MB / 0.4914 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5553, allocations: 4 kB / 0.4914 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5553, allocations: 0 / 0.4914 GB, free: 11.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009799/0.5563, allocations: 0 / 0.4914 GB, free: 11.22 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.06891/0.6252, allocations: 17.24 MB / 0.5082 GB, free: 9.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/0.6253, allocations: 8.031 kB / 0.5082 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02387/0.6492, allocations: 3.688 MB / 0.5118 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0243/0.6735, allocations: 9.558 MB / 0.5212 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/0.6747, allocations: 0.98 MB / 0.5221 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005441/0.6802, allocations: 1.32 MB / 0.5234 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4104/1.091, allocations: 19.45 MB / 0.5424 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008185/1.091, allocations: 17.48 kB / 0.5424 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004428/1.096, allocations: 0.5365 MB / 0.5429 GB, free: 117.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001/1.097, allocations: 0.6301 MB / 0.5436 GB, free: 117.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04261/1.14, allocations: 17.17 MB / 0.5603 GB, free: 110.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1153/1.255, allocations: 58.8 MB / 0.6177 GB, free: 59.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02964/1.285, allocations: 34.42 MB / 0.6514 GB, free: 23.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01067/1.295, allocations: 6.932 MB / 0.6581 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03174/1.327, allocations: 19.2 MB / 0.6769 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.577e-05/1.327, allocations: 111.2 kB / 0.677 GB, free: 12.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=600): time 8.025e-06/1.327, allocations: 0 / 0.677 GB, free: 12.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=713): time 0.0819/1.409, allocations: 34.18 MB / 0.7104 GB, free: 10.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/1.409, allocations: 125 kB / 0.7105 GB, free: 9.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.421, allocations: 6.462 MB / 0.7168 GB, free: 3.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001268/1.423, allocations: 149.6 kB / 0.7169 GB, free: 3.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2724/1.695, allocations: 5.567 MB / 0.7224 GB, free: 156.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003057/1.698, allocations: 2.4 MB / 0.7247 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002836/1.701, allocations: 1.33 MB / 0.726 GB, free: 155 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/1.701, allocations: 303.3 kB / 0.7263 GB, free: 154.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006462/1.708, allocations: 4.009 MB / 0.7302 GB, free: 154 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008729/1.716, allocations: 5.838 MB / 0.7359 GB, free: 150.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/1.733, allocations: 10.56 MB / 0.7462 GB, free: 144 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.733, allocations: 15.84 kB / 0.7463 GB, free: 144 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02541/1.758, allocations: 13.51 MB / 0.7595 GB, free: 138.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/1.758, allocations: 26.31 kB / 0.7595 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/1.758, allocations: 52.81 kB / 0.7595 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007556/1.766, allocations: 3.121 MB / 0.7626 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005737/1.772, allocations: 1.388 MB / 0.7639 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04323/1.815, allocations: 48.22 MB / 0.811 GB, free: 94.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00619/1.821, allocations: 322.9 kB / 0.8113 GB, free: 94.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.823, allocations: 303.4 kB / 0.8116 GB, free: 93.94 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[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.008938/1.832, allocations: 4.494 MB / 0.816 GB, free: 89.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002315/1.834, allocations: 0.7294 MB / 0.8167 GB, free: 89.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02062/1.855, allocations: 12.29 MB / 0.8287 GB, free: 76.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.516e-05/1.855, allocations: 68 kB / 0.8288 GB, free: 76.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-05/1.855, allocations: 40 kB / 0.8288 GB, free: 76.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/1.855, allocations: 35.86 kB / 0.8289 GB, free: 76.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04184/1.897, allocations: 27.34 MB / 0.8556 GB, free: 49.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/1.897, allocations: 8 kB / 0.8556 GB, free: 49.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00371/1.901, allocations: 0.8643 MB / 0.8564 GB, free: 48.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007092/1.908, allocations: 3.428 MB / 0.8598 GB, free: 44.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009698/1.909, allocations: 191.9 kB / 0.8599 GB, free: 44.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2602/2.169, allocations: 49.2 MB / 0.908 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/2.169, allocations: 13.61 kB / 0.908 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03112/2.2, allocations: 17.74 MB / 0.9253 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005898/2.206, allocations: 1.783 MB / 0.9271 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002214/2.208, allocations: 178.7 kB / 0.9272 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005043/2.213, allocations: 306.6 kB / 0.9275 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001561/2.215, allocations: 0.5724 MB / 0.9281 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005241/2.215, allocations: 192.5 kB / 0.9283 GB, free: 130.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007305/2.223, allocations: 4.427 MB / 0.9326 GB, free: 128.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/2.223, allocations: 2.125 kB / 0.9326 GB, free: 128.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01089/2.234, allocations: 2.675 MB / 0.9352 GB, free: 128.5 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 (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.001285/2.235, allocations: 330.7 kB / 0.9355 GB, free: 128.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01949/2.254, allocations: 13.27 MB / 0.9485 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.254, allocations: 11.47 kB / 0.9485 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01286/2.267, allocations: 8.261 MB / 0.9566 GB, free: 117.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01388/2.281, allocations: 1.996 MB / 0.9585 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04817/2.329, allocations: 25.91 MB / 0.9838 GB, free: 94.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009268/2.339, allocations: 8.309 MB / 0.9919 GB, free: 87.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006033/2.345, allocations: 1.878 MB / 0.9938 GB, free: 85.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/2.346, allocations: 471.4 kB / 0.9942 GB, free: 85.11 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/2.346, allocations: 0 / 0.9942 GB, free: 85.11 MB / 494.1 MB Notification: Performance of Templates: time 0.4008/2.747, allocations: 130.6 MB / 1.122 GB, free: 136.4 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 cvode -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)