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.001046/0.001046, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 61.09 kB / 306.3 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08669, allocations: 50.53 MB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.194/0.2807, allocations: 33.79 MB / 390.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.3, allocations: 8.664 MB / 399.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/0.3106, allocations: 232.8 kB / 399.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009835/0.3205, allocations: 1.892 MB / 401.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.3335, allocations: 2.651 MB / 404 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006173/0.3397, allocations: 1.782 MB / 405.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02014/0.3599, allocations: 16.91 MB / 422.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01731/0.3772, allocations: 11.79 MB / 434.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.3875, allocations: 5.877 MB / 440.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01417/0.4017, allocations: 7.701 MB / 448.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00531/0.4071, allocations: 1.242 MB / 449.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007097/0.4142, allocations: 1.468 MB / 450.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006131/0.4204, allocations: 3.746 MB / 454.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01498/0.4354, allocations: 7.82 MB / 462.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03082/0.4662, allocations: 27.72 MB / 490.1 MB, free: 7.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4663, allocations: 0 / 490.1 MB, free: 7.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4663, allocations: 0 / 490.1 MB, free: 7.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001111/0.4674, allocations: 4 kB / 490.1 MB, free: 7.078 MB / 398.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.0561/0.5235, allocations: 17.18 MB / 0.4954 GB, free: 5.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5236, allocations: 8.031 kB / 0.4954 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02407/0.5477, allocations: 3.684 MB / 0.499 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/0.5681, allocations: 9.094 MB / 0.5079 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/0.5692, allocations: 0.98 MB / 0.5088 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004565/0.5738, allocations: 1.312 MB / 0.5101 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/0.6251, allocations: 19.45 MB / 0.5291 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007317/0.6259, allocations: 23.77 kB / 0.5291 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005072/0.631, allocations: 0.5351 MB / 0.5296 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006726/0.6317, allocations: 0.6322 MB / 0.5303 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3538/0.9855, allocations: 17.17 MB / 0.547 GB, free: 119.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08739/1.073, allocations: 59.58 MB / 0.6052 GB, free: 71.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02666/1.1, allocations: 34.42 MB / 0.6388 GB, free: 35.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.011/1.111, allocations: 6.932 MB / 0.6456 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02874/1.139, allocations: 19.29 MB / 0.6644 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/1.14, allocations: 99.77 kB / 0.6645 GB, free: 8.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=600): time 7.715e-06/1.14, allocations: 0 / 0.6645 GB, free: 8.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=713): time 0.07118/1.211, allocations: 34.19 MB / 0.6979 GB, free: 5.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/1.211, allocations: 129 kB / 0.698 GB, free: 5.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.222, allocations: 6.455 MB / 0.7043 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006465/1.223, allocations: 145.7 kB / 0.7045 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003846/1.227, allocations: 5.57 MB / 0.7099 GB, free: 9.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002072/1.229, allocations: 2.399 MB / 0.7123 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002584/1.231, allocations: 1.326 MB / 0.7136 GB, free: 5.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/1.231, allocations: 309.1 kB / 0.7138 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006302/1.238, allocations: 4.009 MB / 0.7178 GB, free: 1.516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1843/1.422, allocations: 5.834 MB / 0.7235 GB, free: 155.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.436, allocations: 10.57 MB / 0.7338 GB, free: 150.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.062e-05/1.436, allocations: 17.08 kB / 0.7338 GB, free: 150.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.02251/1.458, allocations: 13.51 MB / 0.747 GB, free: 145.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/1.458, allocations: 32.25 kB / 0.747 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.304e-05/1.458, allocations: 53.72 kB / 0.7471 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006817/1.465, allocations: 3.118 MB / 0.7501 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.47, allocations: 1.382 MB / 0.7515 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03863/1.509, allocations: 44.71 MB / 0.7951 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.516, allocations: 320 kB / 0.7954 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.517, allocations: 311.8 kB / 0.7957 GB, free: 106.2 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.007816/1.525, allocations: 4.487 MB / 0.8001 GB, free: 102.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.526, allocations: 0.7244 MB / 0.8008 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/1.543, allocations: 12.28 MB / 0.8128 GB, free: 91.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/1.543, allocations: 68 kB / 0.8129 GB, free: 91.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/1.544, allocations: 44 kB / 0.8129 GB, free: 91.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.306e-05/1.544, allocations: 35.88 kB / 0.8129 GB, free: 91.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03738/1.581, allocations: 27.42 MB / 0.8397 GB, free: 63.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.581, allocations: 8 kB / 0.8397 GB, free: 63.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/1.585, allocations: 0.8664 MB / 0.8406 GB, free: 62.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007162/1.592, allocations: 3.419 MB / 0.8439 GB, free: 59.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008561/1.593, allocations: 199.9 kB / 0.8441 GB, free: 59.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04204/1.635, allocations: 45.5 MB / 0.8885 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.635, allocations: 8 kB / 0.8885 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2229/1.858, allocations: 17.71 MB / 0.9058 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/1.862, allocations: 1.788 MB / 0.9076 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/1.864, allocations: 172.4 kB / 0.9078 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003745/1.867, allocations: 301.8 kB / 0.908 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001371/1.869, allocations: 0.5726 MB / 0.9086 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/1.869, allocations: 189.7 kB / 0.9088 GB, free: 136.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007525/1.877, allocations: 4.43 MB / 0.9131 GB, free: 136.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.877, allocations: 0 / 0.9131 GB, free: 136.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01091/1.888, allocations: 2.678 MB / 0.9157 GB, free: 136.2 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.001426/1.889, allocations: 353.9 kB / 0.9161 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01874/1.908, allocations: 13.25 MB / 0.929 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.908, allocations: 3.75 kB / 0.929 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01216/1.92, allocations: 8.266 MB / 0.9371 GB, free: 126.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/1.931, allocations: 1.896 MB / 0.9389 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0501/1.981, allocations: 31.85 MB / 0.97 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/1.991, allocations: 8.313 MB / 0.9781 GB, free: 97.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00688/1.998, allocations: 1.877 MB / 0.98 GB, free: 95.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/2, allocations: 464.2 kB / 0.9804 GB, free: 95.23 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/2, allocations: 0 / 0.9804 GB, free: 95.23 MB / 494.1 MB Notification: Performance of Templates: time 0.3949/2.395, allocations: 135.5 MB / 1.113 GB, free: 141.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)