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.001132/0.001132, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.25 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08514, allocations: 50.54 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.2036/0.2887, allocations: 34.35 MB / 391.8 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.3096, allocations: 8.786 MB / 400.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/0.3179, allocations: 241.3 kB / 400.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007099/0.325, allocations: 2.211 MB / 403.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.3385, allocations: 2.943 MB / 406 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005746/0.3443, allocations: 1.931 MB / 408 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02047/0.3648, allocations: 15.84 MB / 423.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02325/0.388, allocations: 14.15 MB / 437.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.4008, allocations: 7.537 MB / 445.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01574/0.4165, allocations: 9.036 MB / 454.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006478/0.423, allocations: 2.227 MB / 456.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009922/0.433, allocations: 2.457 MB / 459.2 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007424/0.4404, allocations: 4.796 MB / 464 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01647/0.4569, allocations: 8.921 MB / 472.9 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03237/0.4893, allocations: 28.51 MB / 0.4897 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4894, allocations: 0 / 0.4897 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4894, allocations: 4 kB / 0.4897 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008074/0.4902, allocations: 0 / 0.4897 GB, free: 12.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.05379/0.544, allocations: 17.24 MB / 0.5065 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.544, allocations: 11.97 kB / 0.5065 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/0.5669, allocations: 3.692 MB / 0.5101 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02054/0.5874, allocations: 9.332 MB / 0.5192 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/0.5886, allocations: 0.9839 MB / 0.5202 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005642/0.5942, allocations: 1.312 MB / 0.5215 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3795/0.9738, allocations: 19.44 MB / 0.5405 GB, free: 118.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000323/0.9741, allocations: 13.72 kB / 0.5405 GB, free: 118.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002077/0.9762, allocations: 0.5334 MB / 0.541 GB, free: 117.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007428/0.977, allocations: 0.6334 MB / 0.5416 GB, free: 117.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03646/1.013, allocations: 17.17 MB / 0.5584 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09388/1.107, allocations: 59.58 MB / 0.6166 GB, free: 60.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0302/1.138, allocations: 34.42 MB / 0.6502 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01051/1.148, allocations: 6.943 MB / 0.657 GB, free: 16.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03383/1.182, allocations: 19.28 MB / 0.6758 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.2e-05/1.182, allocations: 103.2 kB / 0.6759 GB, free: 13.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=600): time 7.284e-06/1.182, allocations: 0 / 0.6759 GB, free: 13.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=713): time 0.07914/1.261, allocations: 34.21 MB / 0.7093 GB, free: 10.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.261, allocations: 125 kB / 0.7094 GB, free: 10.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/1.274, allocations: 6.458 MB / 0.7157 GB, free: 4.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001101/1.276, allocations: 145.7 kB / 0.7159 GB, free: 3.895 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1886/1.464, allocations: 5.568 MB / 0.7213 GB, free: 156.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002399/1.467, allocations: 2.396 MB / 0.7236 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/1.469, allocations: 1.329 MB / 0.7249 GB, free: 155.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/1.469, allocations: 305.8 kB / 0.7252 GB, free: 155.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005658/1.475, allocations: 4.003 MB / 0.7291 GB, free: 154.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006605/1.481, allocations: 5.841 MB / 0.7349 GB, free: 150.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.494, allocations: 10.58 MB / 0.7452 GB, free: 144.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.173e-05/1.494, allocations: 11.84 kB / 0.7452 GB, free: 144.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.01897/1.513, allocations: 13.51 MB / 0.7584 GB, free: 138.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/1.513, allocations: 25.88 kB / 0.7584 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-05/1.513, allocations: 51.78 kB / 0.7585 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/1.52, allocations: 3.148 MB / 0.7615 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/1.524, allocations: 1.383 MB / 0.7629 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03972/1.564, allocations: 48.28 MB / 0.81 GB, free: 95.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006311/1.57, allocations: 309.6 kB / 0.8103 GB, free: 94.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/1.571, allocations: 316 kB / 0.8106 GB, free: 94.59 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.007297/1.579, allocations: 4.495 MB / 0.815 GB, free: 90.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.58, allocations: 0.7294 MB / 0.8157 GB, free: 89.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.598, allocations: 12.29 MB / 0.8277 GB, free: 77.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/1.598, allocations: 68 kB / 0.8278 GB, free: 77.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.615e-05/1.598, allocations: 40 kB / 0.8278 GB, free: 77.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.134e-05/1.598, allocations: 39.86 kB / 0.8279 GB, free: 77.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03715/1.635, allocations: 27.42 MB / 0.8546 GB, free: 49.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.635, allocations: 8.688 kB / 0.8547 GB, free: 49.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.638, allocations: 0.866 MB / 0.8555 GB, free: 48.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007095/1.645, allocations: 3.445 MB / 0.8589 GB, free: 45.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005962/1.646, allocations: 191.9 kB / 0.859 GB, free: 45.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2696/1.916, allocations: 49.26 MB / 0.9072 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.916, allocations: 5.719 kB / 0.9072 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02691/1.943, allocations: 17.72 MB / 0.9245 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004526/1.947, allocations: 1.79 MB / 0.9262 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/1.949, allocations: 177.8 kB / 0.9264 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/1.953, allocations: 310.9 kB / 0.9267 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001374/1.954, allocations: 0.5703 MB / 0.9272 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003813/1.955, allocations: 196.2 kB / 0.9274 GB, free: 130.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005879/1.96, allocations: 4.426 MB / 0.9317 GB, free: 129.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.96, allocations: 3.5 kB / 0.9317 GB, free: 129.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008909/1.969, allocations: 2.676 MB / 0.9344 GB, free: 128.8 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.001191/1.971, allocations: 345.7 kB / 0.9347 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.06146/2.032, allocations: 25.63 MB / 0.9597 GB, free: 115.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.032, allocations: 11.94 kB / 0.9597 GB, free: 115 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0116/2.044, allocations: 8.262 MB / 0.9678 GB, free: 107.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.011/2.055, allocations: 2.004 MB / 0.9698 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0438/2.099, allocations: 26.2 MB / 0.9953 GB, free: 82.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0111/2.11, allocations: 8.304 MB / 1.003 GB, free: 75.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007199/2.117, allocations: 1.874 MB / 1.005 GB, free: 73.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/2.119, allocations: 471.4 kB / 1.006 GB, free: 73.28 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/2.119, allocations: 0 / 1.006 GB, free: 73.28 MB / 494.1 MB Notification: Performance of Templates: time 0.4138/2.533, allocations: 140 MB / 1.142 GB, free: 115.2 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)