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.001534/0.001535, allocations: 113.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 207.8 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2376, allocations: 50.55 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.03431/0.2719, allocations: 34.36 MB / 443.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.2899, allocations: 8.79 MB / 452.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005801/0.2957, allocations: 243.1 kB / 452.7 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00614/0.3019, allocations: 2.272 MB / 454.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.3126, allocations: 3.051 MB / 458 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.3186, allocations: 1.933 MB / 459.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01757/0.3362, allocations: 15.93 MB / 475.9 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/0.3552, allocations: 14.14 MB / 490 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.3656, allocations: 7.611 MB / 497.6 MB, free: 8.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.3788, allocations: 9.079 MB / 0.4948 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005244/0.384, allocations: 2.227 MB / 0.497 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006737/0.3908, allocations: 2.441 MB / 0.4994 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006362/0.3972, allocations: 4.8 MB / 0.5041 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01551/0.4127, allocations: 8.914 MB / 0.5128 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03266/0.4454, allocations: 28.69 MB / 0.5408 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4455, allocations: 4 kB / 0.5408 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4455, allocations: 0 / 0.5408 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007899/0.4463, allocations: 0 / 0.5408 GB, free: 0.5469 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.4565/0.9028, allocations: 17.24 MB / 0.5576 GB, free: 103.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9029, allocations: 7.875 kB / 0.5576 GB, free: 103.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02195/0.9249, allocations: 3.691 MB / 0.5612 GB, free: 101.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/0.9439, allocations: 9.563 MB / 0.5706 GB, free: 91.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009785/0.945, allocations: 0.9826 MB / 0.5715 GB, free: 90.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00488/0.9499, allocations: 1.312 MB / 0.5728 GB, free: 89.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/0.9946, allocations: 19.45 MB / 0.5918 GB, free: 70.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006131/0.9953, allocations: 15.84 kB / 0.5918 GB, free: 70.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003808/0.9991, allocations: 0.5344 MB / 0.5923 GB, free: 69.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004612/0.9996, allocations: 0.6361 MB / 0.593 GB, free: 68.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03187/1.031, allocations: 17.17 MB / 0.6097 GB, free: 51.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/1.139, allocations: 58.79 MB / 0.6672 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03785/1.177, allocations: 34.41 MB / 0.7008 GB, free: 3.852 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01238/1.189, allocations: 6.953 MB / 0.7076 GB, free: 12.85 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03774/1.227, allocations: 19.21 MB / 0.7263 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.271e-05/1.227, allocations: 99.2 kB / 0.7264 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=600): time 8.026e-06/1.227, allocations: 0 / 0.7264 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=713): time 0.3276/1.555, allocations: 34.22 MB / 0.7598 GB, free: 180.8 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/1.555, allocations: 124.8 kB / 0.7599 GB, free: 180.8 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008188/1.563, allocations: 6.465 MB / 0.7663 GB, free: 178.4 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0008365/1.564, allocations: 143.6 kB / 0.7664 GB, free: 178.3 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/1.567, allocations: 5.564 MB / 0.7718 GB, free: 174.1 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.569, allocations: 2.4 MB / 0.7742 GB, free: 172.2 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001962/1.571, allocations: 1.332 MB / 0.7755 GB, free: 171.6 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/1.571, allocations: 304.9 kB / 0.7758 GB, free: 171.3 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/1.576, allocations: 4.005 MB / 0.7797 GB, free: 169.6 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006091/1.582, allocations: 5.84 MB / 0.7854 GB, free: 165.9 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.594, allocations: 10.57 MB / 0.7957 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.537e-05/1.594, allocations: 15.5 kB / 0.7957 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.0195/1.614, allocations: 13.51 MB / 0.8089 GB, free: 148.8 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/1.614, allocations: 28 kB / 0.8089 GB, free: 148.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.689e-05/1.614, allocations: 52.91 kB / 0.809 GB, free: 148.7 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/1.621, allocations: 3.116 MB / 0.812 GB, free: 145.5 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005237/1.626, allocations: 1.381 MB / 0.8134 GB, free: 144.2 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03982/1.666, allocations: 48.24 MB / 0.8605 GB, free: 93.89 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006826/1.673, allocations: 323.5 kB / 0.8608 GB, free: 93.57 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.674, allocations: 308 kB / 0.8611 GB, free: 93.27 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.007772/1.681, allocations: 4.496 MB / 0.8655 GB, free: 88.77 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/1.683, allocations: 0.7333 MB / 0.8662 GB, free: 88.02 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.7, allocations: 12.28 MB / 0.8782 GB, free: 75.63 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/1.7, allocations: 68 kB / 0.8782 GB, free: 75.57 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-05/1.7, allocations: 40 kB / 0.8783 GB, free: 75.53 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-05/1.701, allocations: 31.88 kB / 0.8783 GB, free: 75.5 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03829/1.739, allocations: 27.34 MB / 0.905 GB, free: 48.07 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/1.739, allocations: 8 kB / 0.905 GB, free: 48.06 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.742, allocations: 0.8628 MB / 0.9059 GB, free: 47.2 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007024/1.749, allocations: 3.427 MB / 0.9092 GB, free: 43.73 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007031/1.75, allocations: 195.9 kB / 0.9094 GB, free: 43.54 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04615/1.796, allocations: 49.21 MB / 0.9575 GB, free: 8.711 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.796, allocations: 11.94 kB / 0.9575 GB, free: 8.699 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2528/2.049, allocations: 17.73 MB / 0.9748 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004522/2.054, allocations: 1.78 MB / 0.9765 GB, free: 175.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.055, allocations: 178.9 kB / 0.9767 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003684/2.059, allocations: 309.3 kB / 0.977 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/2.06, allocations: 0.5719 MB / 0.9775 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004073/2.061, allocations: 191.4 kB / 0.9777 GB, free: 175.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005608/2.066, allocations: 4.424 MB / 0.982 GB, free: 175.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.21e-07/2.066, allocations: 0 / 0.982 GB, free: 175.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00954/2.076, allocations: 2.673 MB / 0.9847 GB, free: 175.1 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.0009411/2.077, allocations: 345.3 kB / 0.985 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01757/2.094, allocations: 13.27 MB / 0.9979 GB, free: 168.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.094, allocations: 3.969 kB / 0.9979 GB, free: 168.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.01114/2.106, allocations: 8.277 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.008085/2.114, allocations: 1.989 MB / 1.008 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/2.15, allocations: 25.92 MB / 1.033 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007176/2.158, allocations: 8.309 MB / 1.041 GB, free: 135.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005177/2.163, allocations: 1.873 MB / 1.043 GB, free: 133.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/2.164, allocations: 471.4 kB / 1.044 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of SimCode: time 7.52e-07/2.164, allocations: 0 / 1.044 GB, free: 133.1 MB / 0.5607 GB Notification: Performance of Templates: time 0.1796/2.344, allocations: 134 MB / 1.175 GB, free: 216 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)