Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 199.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.6 MB / 244.3 MB, free: 8.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006317/0.0006317, allocations: 105.2 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 11.94 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1997, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.02045/0.2202, allocations: 30.15 MB / 437.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.2355, allocations: 8.22 MB / 445.9 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006855/0.2425, allocations: 223.1 kB / 446.1 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004752/0.2472, allocations: 1.549 MB / 447.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007409/0.2547, allocations: 2.444 MB / 450.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.2584, allocations: 1.27 MB / 451.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02056/0.279, allocations: 15.92 MB / 467.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02073/0.2997, allocations: 9.759 MB / 477.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009649/0.3094, allocations: 4.954 MB / 482 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.3215, allocations: 6.389 MB / 488.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004599/0.3262, allocations: 0.8555 MB / 489.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006675/0.3329, allocations: 1.062 MB / 490.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005892/0.3388, allocations: 3.149 MB / 493.5 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007174/0.346, allocations: 2.979 MB / 496.4 MB, free: 2.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3758/0.7218, allocations: 23.73 MB / 0.508 GB, free: 25.94 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7219, allocations: 0 / 0.508 GB, free: 25.94 MB / 378.8 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7219, allocations: 3.062 kB / 0.508 GB, free: 25.94 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.00082/0.7227, allocations: 0 / 0.508 GB, free: 25.94 MB / 378.8 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.03931/0.762, allocations: 14.53 MB / 0.5222 GB, free: 20.64 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7621, allocations: 10.62 kB / 0.5222 GB, free: 20.64 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02207/0.7842, allocations: 3.708 MB / 0.5258 GB, free: 19.17 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/0.8029, allocations: 8.893 MB / 0.5345 GB, free: 16.68 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009729/0.8039, allocations: 0.9803 MB / 0.5354 GB, free: 16.66 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005761/0.8097, allocations: 1.316 MB / 0.5367 GB, free: 16.63 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04733/0.857, allocations: 19.36 MB / 0.5556 GB, free: 8.41 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007008/0.8578, allocations: 11.78 kB / 0.5556 GB, free: 8.402 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006235/0.864, allocations: 0.542 MB / 0.5562 GB, free: 8.289 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000547/0.8646, allocations: 0.6311 MB / 0.5568 GB, free: 7.691 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04574/0.9103, allocations: 17.1 MB / 0.5735 GB, free: 7.234 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1359/1.046, allocations: 59.88 MB / 0.632 GB, free: 11.55 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03977/1.086, allocations: 34.36 MB / 0.6655 GB, free: 7.059 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01391/1.1, allocations: 6.977 MB / 0.6723 GB, free: 48 kB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3404/1.441, allocations: 19.34 MB / 0.6912 GB, free: 179.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.028e-05/1.441, allocations: 102.7 kB / 0.6913 GB, free: 179.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=600): time 7.875e-06/1.441, allocations: 0.5938 kB / 0.6913 GB, free: 179.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=713): time 0.08075/1.521, allocations: 34.64 MB / 0.7252 GB, free: 167.7 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/1.522, allocations: 127.9 kB / 0.7253 GB, free: 167.7 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.532, allocations: 6.395 MB / 0.7315 GB, free: 163.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001571/1.533, allocations: 145.7 kB / 0.7317 GB, free: 163.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/1.537, allocations: 5.547 MB / 0.7371 GB, free: 158.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002974/1.54, allocations: 2.407 MB / 0.7394 GB, free: 156.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005354/1.54, allocations: 156 kB / 0.7396 GB, free: 156 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003523/1.541, allocations: 0.6039 MB / 0.7402 GB, free: 155.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005747/1.546, allocations: 3.992 MB / 0.7441 GB, free: 151.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006848/1.553, allocations: 5.823 MB / 0.7498 GB, free: 145.2 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007818/1.561, allocations: 5.1 MB / 0.7547 GB, free: 140 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.115e-05/1.561, allocations: 12 kB / 0.7547 GB, free: 140 MB / 0.4949 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02525/1.586, allocations: 13.46 MB / 0.7679 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/1.587, allocations: 28 kB / 0.7679 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.587, allocations: 53.53 kB / 0.768 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007572/1.594, allocations: 3.125 MB / 0.771 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005902/1.6, allocations: 1.385 MB / 0.7724 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04793/1.648, allocations: 44.71 MB / 0.816 GB, free: 75.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009137/1.657, allocations: 323.7 kB / 0.8163 GB, free: 74.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002149/1.66, allocations: 311.9 kB / 0.8166 GB, free: 74.52 MB / 0.4949 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[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 (761): * Single equations (assignments): 743 * 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: 15 * 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: 15 {(8,67.2%) 49,(8,78.1%) 53,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(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.01388/1.674, allocations: 4.483 MB / 0.821 GB, free: 70.02 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003168/1.677, allocations: 0.7179 MB / 0.8217 GB, free: 69.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/1.699, allocations: 12.27 MB / 0.8337 GB, free: 56.91 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/1.699, allocations: 68 kB / 0.8338 GB, free: 56.85 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.709e-05/1.699, allocations: 40 kB / 0.8338 GB, free: 56.81 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.324e-05/1.699, allocations: 37.19 kB / 0.8338 GB, free: 56.77 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04136/1.74, allocations: 27.4 MB / 0.8606 GB, free: 29.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.74, allocations: 4 kB / 0.8606 GB, free: 29.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/1.744, allocations: 0.8597 MB / 0.8614 GB, free: 28.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00699/1.751, allocations: 3.425 MB / 0.8648 GB, free: 24.93 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005997/1.751, allocations: 195.9 kB / 0.865 GB, free: 24.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.369/2.12, allocations: 45.51 MB / 0.9094 GB, free: 154.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/2.12, allocations: 3.656 kB / 0.9094 GB, free: 154.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/2.147, allocations: 17.69 MB / 0.9267 GB, free: 147.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004578/2.151, allocations: 1.778 MB / 0.9284 GB, free: 146.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00222/2.154, allocations: 172.2 kB / 0.9286 GB, free: 146.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005134/2.159, allocations: 335.5 kB / 0.9289 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001661/2.161, allocations: 0.5694 MB / 0.9295 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005347/2.161, allocations: 196.4 kB / 0.9297 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0079/2.169, allocations: 4.364 MB / 0.9339 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.61e-07/2.169, allocations: 7.094 kB / 0.9339 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01317/2.182, allocations: 2.677 MB / 0.9365 GB, free: 143.2 MB / 0.4949 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 (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 {(8,78.1%) 52,(8,67.2%) 48,(6,86.1%) 51,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/2.184, allocations: 340.3 kB / 0.9369 GB, free: 142.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01914/2.203, allocations: 13.22 MB / 0.9498 GB, free: 131 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/2.203, allocations: 4 kB / 0.9498 GB, free: 131 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01293/2.216, allocations: 8.273 MB / 0.9579 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/2.228, allocations: 1.932 MB / 0.9597 GB, free: 122 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05493/2.283, allocations: 30.75 MB / 0.9898 GB, free: 92.8 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/2.297, allocations: 8.113 MB / 0.9977 GB, free: 84.65 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003094/2.3, allocations: 0.515 MB / 0.9982 GB, free: 84.14 MB / 0.4949 GB Notification: Performance of SimCode: time 1.012e-06/2.3, allocations: 0 / 0.9982 GB, free: 84.14 MB / 0.4949 GB Notification: Performance of Templates: time 2.551/4.851, allocations: 1.224 GB / 2.222 GB, free: 170.3 MB / 0.5262 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage --alarm=480 > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)